Advertisement
DANIOS

floating house

Apr 1st, 2017
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 93.73 KB | None | 0 0
  1.  
  2.  
  3. Name = "Abdius1"
  4. Person = game.Players.Abdius1
  5. Altitude = Vector3.new(0,40,0)
  6.  
  7. if Workspace:findFirstChild("NinjaHouse",true) ~= nil then
  8. Workspace:findFirstChild("NinjaHouse",true).Parent = nil
  9. end
  10. Commands = {"up","down","controls","seat","murder","sleep","front door", "ladder","windowa","dima","dimb","turret","fix","kick","shutdown","destruct"}
  11.  
  12.  
  13. if (script:findFirstChild("Type") == nil) then
  14. Type = Instance.new("StringValue")
  15. Type.Parent = script
  16. Type.Name = "Type"
  17. Type.Value = "House"
  18. end
  19.  
  20. if (script.Type.Value == "Missile") then
  21. function Explode(Hit)
  22. E = Instance.new("Explosion")
  23. E.Parent = game.Workspace
  24. E.BlastRadius = 10
  25. E.BlastPressure = 1000
  26. E.Position = script.Parent.Position
  27. script.Parent:remove()
  28. end
  29. script.Parent.Touched:connect(Explode)
  30. wait(18)
  31. script.Parent:remove()
  32. end
  33. if (script.Type.Value == "House") then
  34. if (script.Parent.className ~= "Model") then
  35. Model = Instance.new("Model")
  36. Model.Parent = game.Workspace
  37. Model.Name = "NinjaHouse"
  38. script.Parent = Model
  39. end
  40. Model = script.Parent
  41. Turret = true
  42. Turreter = nil
  43. Controller = nil
  44. Controls = true
  45. TehList = {Person.Name, "Player"}
  46.  
  47. GrassA = Instance.new("Part")
  48. GrassA.Parent = Model
  49. GrassA.Name = "GrassA"
  50. GrassA.TopSurface = 0
  51. GrassA.BottomSurface = 0
  52. GrassA.CanCollide = true
  53. GrassA.Anchored = false
  54. GrassA.Locked = true
  55. GrassA.BrickColor = BrickColor.new("Bright green")
  56. GrassA.formFactor = "Plate"
  57. GrassA.Size = Vector3.new(32, 0.4, 20)
  58. GrassA:BreakJoints()
  59. GrassB = Instance.new("Part")
  60. GrassB.Parent = Model
  61. GrassB.Name = "GrassB"
  62. GrassB.TopSurface = 0
  63. GrassB.BottomSurface = 0
  64. GrassB.CanCollide = true
  65. GrassB.Anchored = false
  66. GrassB.Locked = true
  67. GrassB.BrickColor = BrickColor.new("Bright green")
  68. GrassB.formFactor = "Plate"
  69. GrassB.Size = Vector3.new(48, 0.4, 14)
  70. GrassB:BreakJoints()
  71. Weld = Instance.new("Weld")
  72. Weld.Parent = GrassA
  73. Weld.Part0 = GrassA
  74. Weld.Part1 = GrassB
  75. Weld.C0 = CFrame.new(20, 0, 17) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  76. GrassC = Instance.new("Part")
  77. GrassC.Parent = Model
  78. GrassC.Name = "GrassC"
  79. GrassC.TopSurface = 0
  80. GrassC.BottomSurface = 0
  81. GrassC.CanCollide = true
  82. GrassC.Anchored = false
  83. GrassC.Locked = true
  84. GrassC.BrickColor = BrickColor.new("Bright green")
  85. GrassC.formFactor = "Plate"
  86. GrassC.Size = Vector3.new(24, 0.4, 40)
  87. GrassC:BreakJoints()
  88. Weld = Instance.new("Weld")
  89. Weld.Parent = GrassA
  90. Weld.Part0 = GrassA
  91. Weld.Part1 = GrassC
  92. Weld.C0 = CFrame.new(-4, 0, 40) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  93. GrassD = Instance.new("Part")
  94. GrassD.Parent = Model
  95. GrassD.Name = "GrassD"
  96. GrassD.TopSurface = 0
  97. GrassD.BottomSurface = 0
  98. GrassD.CanCollide = true
  99. GrassD.Anchored = false
  100. GrassD.Locked = true
  101. GrassD.BrickColor = BrickColor.new("Bright green")
  102. GrassD.formFactor = "Plate"
  103. GrassD.Size = Vector3.new(22, 0.4, 26)
  104. GrassD:BreakJoints()
  105. Weld = Instance.new("Weld")
  106. Weld.Parent = GrassA
  107. Weld.Part0 = GrassA
  108. Weld.Part1 = GrassD
  109. Weld.C0 = CFrame.new(19, 0, 47) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  110. GrassE = Instance.new("Part")
  111. GrassE.Parent = Model
  112. GrassE.Name = "GrassE"
  113. GrassE.TopSurface = 0
  114. GrassE.BottomSurface = 0
  115. GrassE.CanCollide = true
  116. GrassE.Anchored = false
  117. GrassE.Locked = true
  118. GrassE.BrickColor = BrickColor.new("Bright green")
  119. GrassE.formFactor = "Plate"
  120. GrassE.Size = Vector3.new(14, 0.4, 36)
  121. GrassE:BreakJoints()
  122. Weld = Instance.new("Weld")
  123. Weld.Parent = GrassA
  124. Weld.Part0 = GrassA
  125. Weld.Part1 = GrassE
  126. Weld.C0 = CFrame.new(37, 0, 42) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  127. GrassF = Instance.new("Part")
  128. GrassF.Parent = Model
  129. GrassF.Name = "GrassF"
  130. GrassF.TopSurface = 0
  131. GrassF.BottomSurface = 0
  132. GrassF.CanCollide = true
  133. GrassF.Anchored = false
  134. GrassF.Locked = true
  135. GrassF.BrickColor = BrickColor.new("Bright green")
  136. GrassF.formFactor = "Plate"
  137. GrassF.Size = Vector3.new(13, 0.4, 14)
  138. GrassF:BreakJoints()
  139. Weld = Instance.new("Weld")
  140. Weld.Parent = GrassA
  141. Weld.Part0 = GrassA
  142. Weld.Part1 = GrassF
  143. Weld.C0 = CFrame.new(50.5, 0, 36) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  144. --1.1775
  145. SupportA = Instance.new("Part")
  146. SupportA.Parent = Model
  147. SupportA.Name = "SupportA"
  148. SupportA.TopSurface = 0
  149. SupportA.BottomSurface = 0
  150. SupportA.CanCollide = true
  151. SupportA.Anchored = false
  152. SupportA.Locked = true
  153. SupportA.BrickColor = BrickColor.new("Brown")
  154. SupportA.formFactor = "Symmetric"
  155. SupportA.Size = Vector3.new(32, 1, 20)
  156. SupportA:BreakJoints()
  157. Weld = Instance.new("Weld")
  158. Weld.Parent = GrassA
  159. Weld.Part0 = GrassA
  160. Weld.Part1 = SupportA
  161. Weld.C0 = CFrame.new(0, -0.7, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  162. SupportB = Instance.new("Part")
  163. SupportB.Parent = Model
  164. SupportB.Name = "SupportB"
  165. SupportB.TopSurface = 0
  166. SupportB.BottomSurface = 0
  167. SupportB.CanCollide = true
  168. SupportB.Anchored = false
  169. SupportB.Locked = true
  170. SupportB.BrickColor = BrickColor.new("Brown")
  171. SupportB.formFactor = "Symmetric"
  172. SupportB.Size = Vector3.new(1, 18, 1)
  173. SupportB:BreakJoints()
  174. Weld = Instance.new("Weld")
  175. Weld.Parent = GrassA
  176. Weld.Part0 = GrassA
  177. Weld.Part1 = SupportB
  178. Weld.C0 = CFrame.new(0, -7, 4) * CFrame.fromEulerAnglesXYZ(-math.pi/4, 0, 0)
  179. SupportC = Instance.new("Part")
  180. SupportC.Parent = Model
  181. SupportC.Name = "SupportC"
  182. SupportC.TopSurface = 0
  183. SupportC.BottomSurface = 0
  184. SupportC.CanCollide = true
  185. SupportC.Anchored = false
  186. SupportC.Locked = true
  187. SupportC.BrickColor = BrickColor.new("Brown")
  188. SupportC.formFactor = "Symmetric"
  189. SupportC.Size = Vector3.new(1, 18, 1)
  190. SupportC:BreakJoints()
  191. Weld = Instance.new("Weld")
  192. Weld.Parent = GrassA
  193. Weld.Part0 = GrassA
  194. Weld.Part1 = SupportC
  195. Weld.C0 = CFrame.new(10, -7, 4) * CFrame.fromEulerAnglesXYZ(-math.pi/4, 0, 0)
  196. SupportD = Instance.new("Part")
  197. SupportD.Parent = Model
  198. SupportD.Name = "Supportd"
  199. SupportD.TopSurface = 0
  200. SupportD.BottomSurface = 0
  201. SupportD.CanCollide = true
  202. SupportD.Anchored = false
  203. SupportD.Locked = true
  204. SupportD.BrickColor = BrickColor.new("Brown")
  205. SupportD.formFactor = "Symmetric"
  206. SupportD.Size = Vector3.new(1, 18, 1)
  207. SupportD:BreakJoints()
  208. Weld = Instance.new("Weld")
  209. Weld.Parent = GrassA
  210. Weld.Part0 = GrassA
  211. Weld.Part1 = SupportD
  212. Weld.C0 = CFrame.new(-10, -7, 4) * CFrame.fromEulerAnglesXYZ(-math.pi/4, 0, 0)
  213.  
  214.  
  215. Stairs = Instance.new("Part")
  216. Stairs.Parent = Model
  217. Stairs.Name = "Stairs"
  218. Stairs.TopSurface = 0
  219. Stairs.BottomSurface = 0
  220. Stairs.CanCollide = true
  221. Stairs.Anchored = false
  222. Stairs.Locked = true
  223. Stairs.BrickColor = BrickColor.new("Brown")
  224. Stairs.formFactor = "Plate"
  225. Stairs.Size = Vector3.new(10, 0.4, 20)
  226. Stairs:BreakJoints()
  227. Weld = Instance.new("Weld")
  228. Weld.Parent = GrassA
  229. Weld.Part0 = GrassA
  230. Weld.Part1 = Stairs
  231. Weld.C0 = CFrame.new(-10, -7, 17) * CFrame.fromEulerAnglesXYZ(math.pi/4, 0, 0)
  232. WallA = Instance.new("WedgePart")
  233. WallA.Parent = Model
  234. WallA.Name = "WallA"
  235. WallA.TopSurface = 0
  236. WallA.BottomSurface = 0
  237. WallA.CanCollide = true
  238. WallA.Anchored = false
  239. WallA.Locked = true
  240. WallA.BrickColor = BrickColor.new("Brown")
  241. WallA.formFactor = "Symmetric"
  242. WallA.Size = Vector3.new(1, 10, 10)
  243. WallA:BreakJoints()
  244. Weld = Instance.new("Weld")
  245. Weld.Parent = GrassA
  246. Weld.Part0 = GrassA
  247. Weld.Part1 = WallA
  248. Weld.C0 = CFrame.new(-4.5, 4.8, 15) * CFrame.fromEulerAnglesXYZ(0, math.pi, 0)
  249. RoofA = Instance.new("Part")
  250. RoofA.Parent = Model
  251. RoofA.Name = "RoofA"
  252. RoofA.TopSurface = 0
  253. RoofA.BottomSurface = 0
  254. RoofA.CanCollide = true
  255. RoofA.Anchored = false
  256. RoofA.Locked = true
  257. RoofA.BrickColor = BrickColor.new("Brown")
  258. RoofA.formFactor = "Plate"
  259. RoofA.Size = Vector3.new(12, 0.4, 20)
  260. RoofA:BreakJoints()
  261. MeshA = Instance.new("BlockMesh")
  262. MeshA.Parent = RoofA
  263. MeshA.Scale = Vector3.new(1, 1, 1)
  264. Weld = Instance.new("Weld")
  265. Weld.Parent = GrassA
  266. Weld.Part0 = WallA
  267. Weld.Part1 = RoofA
  268. Weld.C0 = CFrame.new(5.5, -2, -2) * CFrame.fromEulerAnglesXYZ(-(math.pi/4), 0, 0)
  269. WallB = Instance.new("WedgePart")
  270. WallB.Parent = Model
  271. WallB.Name = "WallB"
  272. WallB.TopSurface = 0
  273. WallB.BottomSurface = 0
  274. WallB.CanCollide = true
  275. WallB.Anchored = false
  276. WallB.Locked = true
  277. WallB.BrickColor = BrickColor.new("Brown")
  278. WallB.formFactor = "Symmetric"
  279. WallB.Size = Vector3.new(1, 10, 10)
  280. WallB:BreakJoints()
  281. Weld = Instance.new("Weld")
  282. Weld.Parent = GrassA
  283. Weld.Part0 = GrassA
  284. Weld.Part1 = WallB
  285. Weld.C0 = CFrame.new(-15.5, 4.8, 15) * CFrame.fromEulerAnglesXYZ(0, math.pi, 0)
  286. Roof = Instance.new("WedgePart")
  287. Roof.Parent = Model
  288. Roof.Name = "Roof"
  289. Roof.TopSurface = 0
  290. Roof.BottomSurface = 0
  291. Roof.CanCollide = true
  292. Roof.Anchored = false
  293. Roof.Locked = true
  294. Roof.BrickColor = BrickColor.new("Brown")
  295. Roof.formFactor = "Symmetric"
  296. Roof.Size = Vector3.new(10, 1, 1)
  297. Roof:BreakJoints()
  298. Weld = Instance.new("Weld")
  299. Weld.Parent = GrassA
  300. Weld.Part0 = GrassA
  301. Weld.Part1 = Roof
  302. Weld.C0 = CFrame.new(-10, 9.3, 10.5) * CFrame.fromEulerAnglesXYZ(0, math.pi, 0)
  303. FrontDoor = Instance.new("Part")
  304. FrontDoor.Parent = Model
  305. FrontDoor.Name = "FrontDoor"
  306. FrontDoor.TopSurface = 0
  307. FrontDoor.BottomSurface = 0
  308. FrontDoor.CanCollide = true
  309. FrontDoor.Anchored = false
  310. FrontDoor.Locked = true
  311. FrontDoor.BrickColor = BrickColor.new("Brown")
  312. FrontDoor.formFactor = "Symmetric"
  313. FrontDoor.Size = Vector3.new(10, 9, 1)
  314. FrontDoor:BreakJoints()
  315. Status = Instance.new("IntValue")
  316. Status.Parent = FrontDoor
  317. Status.Name = "Status"
  318. Status.Value = 1
  319. Weld = Instance.new("Weld")
  320. Weld.Parent = GrassA
  321. Weld.Name = "FrontDoorWeld"
  322. Weld.Part0 = GrassA
  323. Weld.Part1 = FrontDoor
  324. Weld.C0 = CFrame.new(-10, -5.7, 10.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  325. WallC = Instance.new("Part")
  326. WallC.Parent = Model
  327. WallC.Name = "WallC"
  328. WallC.TopSurface = 0
  329. WallC.BottomSurface = 0
  330. WallC.CanCollide = true
  331. WallC.Anchored = false
  332. WallC.Locked = true
  333. WallC.BrickColor = BrickColor.new("Brown")
  334. WallC.formFactor = "Symmetric"
  335. WallC.Size = Vector3.new(1, 14, 50)
  336. WallC:BreakJoints()
  337. Weld = Instance.new("Weld")
  338. Weld.Parent = GrassA
  339. Weld.Part0 = GrassA
  340. Weld.Part1 = WallC
  341. Weld.C0 = CFrame.new(-15.5, -7.2, 35) * CFrame.fromEulerAnglesXYZ(0, math.pi, 0)
  342. WallD = Instance.new("Part")
  343. WallD.Parent = Model
  344. WallD.Name = "WallD"
  345. WallD.TopSurface = 0
  346. WallD.BottomSurface = 0
  347. WallD.CanCollide = true
  348. WallD.Anchored = false
  349. WallD.Locked = true
  350. WallD.BrickColor = BrickColor.new("Brown")
  351. WallD.formFactor = "Symmetric"
  352. WallD.Size = Vector3.new(1, 14, 14)
  353. WallD:BreakJoints()
  354. Weld = Instance.new("Weld")
  355. Weld.Parent = GrassA
  356. Weld.Part0 = GrassA
  357. Weld.Part1 = WallD
  358. Weld.C0 = CFrame.new(-4.5, -7.2, 17) * CFrame.fromEulerAnglesXYZ(0, math.pi, 0)
  359. FloorA = Instance.new("Part")
  360. FloorA.Parent = Model
  361. FloorA.Name = "FloorA"
  362. FloorA.TopSurface = 0
  363. FloorA.BottomSurface = 0
  364. FloorA.CanCollide = true
  365. FloorA.Anchored = false
  366. FloorA.Locked = true
  367. FloorA.BrickColor = BrickColor.new("Brown")
  368. FloorA.formFactor = "Plate"
  369. FloorA.Size = Vector3.new(60, 0.4, 50)
  370. FloorA:BreakJoints()
  371. Weld = Instance.new("Weld")
  372. Weld.Parent = GrassA
  373. Weld.Part0 = GrassA
  374. Weld.Part1 = FloorA
  375. Weld.C0 = CFrame.new(14, -14, 35) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  376. WallE = Instance.new("WedgePart")
  377. WallE.Parent = Model
  378. WallE.Name = "WallE"
  379. WallE.TopSurface = 0
  380. WallE.BottomSurface = 0
  381. WallE.CanCollide = true
  382. WallE.Anchored = false
  383. WallE.Locked = true
  384. WallE.BrickColor = BrickColor.new("Brown")
  385. WallE.formFactor = "Symmetric"
  386. WallE.Size = Vector3.new(12, 4, 4)
  387. WallE:BreakJoints()
  388. Weld = Instance.new("Weld")
  389. Weld.Parent = GrassA
  390. Weld.Part0 = GrassA
  391. Weld.Part1 = WallE
  392. Weld.C0 = CFrame.new(-10, -2.2, 22) * CFrame.fromEulerAnglesXYZ(math.pi, math.pi, 0)
  393. WallF = Instance.new("Part")
  394. WallF.Parent = Model
  395. WallF.Name = "WallF"
  396. WallF.TopSurface = 0
  397. WallF.BottomSurface = 0
  398. WallF.CanCollide = true
  399. WallF.Anchored = false
  400. WallF.Locked = true
  401. WallF.BrickColor = BrickColor.new("Brown")
  402. WallF.formFactor = "Symmetric"
  403. WallF.Size = Vector3.new(60, 14, 1)
  404. WallF:BreakJoints()
  405. Weld = Instance.new("Weld")
  406. Weld.Parent = GrassA
  407. Weld.Part0 = GrassA
  408. Weld.Part1 = WallF
  409. Weld.C0 = CFrame.new(14, -7.2, 10.5) * CFrame.fromEulerAnglesXYZ(0, math.pi, 0)
  410. WallG = Instance.new("Part")
  411. WallG.Parent = Model
  412. WallG.Name = "WallG"
  413. WallG.TopSurface = 0
  414. WallG.BottomSurface = 0
  415. WallG.CanCollide = true
  416. WallG.Anchored = false
  417. WallG.Locked = true
  418. WallG.BrickColor = BrickColor.new("Brown")
  419. WallG.formFactor = "Symmetric"
  420. WallG.Size = Vector3.new(1, 14, 20)
  421. WallG:BreakJoints()
  422. Weld = Instance.new("Weld")
  423. Weld.Parent = GrassA
  424. Weld.Part0 = GrassA
  425. Weld.Part1 = WallG
  426. Weld.C0 = CFrame.new(43.5, -7.2, 20) * CFrame.fromEulerAnglesXYZ(0, math.pi, 0)
  427. WallH = Instance.new("WedgePart")
  428. WallH.Parent = Model
  429. WallH.Name = "WallH"
  430. WallH.TopSurface = 0
  431. WallH.BottomSurface = 0
  432. WallH.CanCollide = true
  433. WallH.Anchored = false
  434. WallH.Locked = true
  435. WallH.BrickColor = BrickColor.new("Brown")
  436. WallH.formFactor = "Symmetric"
  437. WallH.Size = Vector3.new(1, 14, 14)
  438. WallH:BreakJoints()
  439. Weld = Instance.new("Weld")
  440. Weld.Parent = GrassA
  441. Weld.Part0 = GrassA
  442. Weld.Part1 = WallH
  443. Weld.C0 = CFrame.new(50, -7.2, 29.5) * CFrame.fromEulerAnglesXYZ(0, -(math.pi/2), math.pi)
  444. WindowA = Instance.new("Part")
  445. WindowA.Parent = Model
  446. WindowA.Name = "WindowA"
  447. WindowA.TopSurface = 0
  448. WindowA.BottomSurface = 0
  449. WindowA.CanCollide = true
  450. WindowA.Anchored = false
  451. WindowA.Locked = true
  452. WindowA.BrickColor = BrickColor.new("Medium blue")
  453. WindowA.Transparency = 0.5
  454. WindowA.formFactor = "Plate"
  455. WindowA.Size = Vector3.new(20, 1, 14)
  456. WindowA:BreakJoints()
  457. MeshD = Instance.new("BlockMesh")
  458. MeshD.Parent = WindowA
  459. MeshD.Scale = Vector3.new(0.98, 1, 0.9)
  460. Status = Instance.new("IntValue")
  461. Status.Parent = WindowA
  462. Status.Name = "Status"
  463. Status.Value = 1
  464. Weld = Instance.new("Weld")
  465. Weld.Parent = GrassA
  466. Weld.Name = "WindowAWeld"
  467. Weld.Part0 = WallH
  468. Weld.Part1 = WindowA
  469. F1 = WallH.CFrame * CFrame.new(-6.5, -7, -7) * CFrame.fromEulerAnglesXYZ(0, math.pi/2, math.pi/4)
  470. F2 = F1 * CFrame.new(0.2, 10, 0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  471. HitPos = WallH.Position
  472. CJ = CFrame.new(HitPos)
  473. C0 = WallH.CFrame:inverse() *CJ
  474. C1 = F2:inverse() * CJ
  475. Weld.C0 = C0
  476. Weld.C1 = C1
  477. WallI = Instance.new("WedgePart")
  478. WallI.Parent = Model
  479. WallI.Name = "WallI"
  480. WallI.TopSurface = 0
  481. WallI.BottomSurface = 0
  482. WallI.CanCollide = true
  483. WallI.Anchored = false
  484. WallI.Locked = true
  485. WallI.BrickColor = BrickColor.new("Brown")
  486. WallI.formFactor = "Symmetric"
  487. WallI.Size = Vector3.new(1, 14, 14)
  488. WallI:BreakJoints()
  489. Weld = Instance.new("Weld")
  490. Weld.Parent = GrassA
  491. Weld.Part0 = GrassA
  492. Weld.Part1 = WallI
  493. Weld.C0 = CFrame.new(50, -7.2, 42.5) * CFrame.fromEulerAnglesXYZ(0, -(math.pi/2), math.pi)
  494. WallJ = Instance.new("Part")
  495. WallJ.Parent = Model
  496. WallJ.Name = "WallJ"
  497. WallJ.TopSurface = 0
  498. WallJ.BottomSurface = 0
  499. WallJ.CanCollide = true
  500. WallJ.Anchored = false
  501. WallJ.Locked = true
  502. WallJ.BrickColor = BrickColor.new("Brown")
  503. WallJ.formFactor = "Symmetric"
  504. WallJ.Size = Vector3.new(1, 14, 18)
  505. WallJ:BreakJoints()
  506. Weld = Instance.new("Weld")
  507. Weld.Parent = GrassA
  508. Weld.Part0 = GrassA
  509. Weld.Part1 = WallJ
  510. Weld.C0 = CFrame.new(43.5, -7.2, 51) * CFrame.fromEulerAnglesXYZ(0, math.pi, 0)
  511. WallK = Instance.new("Part")
  512. WallK.Parent = Model
  513. WallK.Name = "WallK"
  514. WallK.TopSurface = 0
  515. WallK.BottomSurface = 0
  516. WallK.CanCollide = true
  517. WallK.Anchored = false
  518. WallK.Locked = true
  519. WallK.BrickColor = BrickColor.new("Brown")
  520. WallK.formFactor = "Symmetric"
  521. WallK.Size = Vector3.new(60, 14, 1)
  522. WallK:BreakJoints()
  523. Weld = Instance.new("Weld")
  524. Weld.Parent = GrassA
  525. Weld.Part0 = GrassA
  526. Weld.Part1 = WallK
  527. Weld.C0 = CFrame.new(14, -7.2, 59.5) * CFrame.fromEulerAnglesXYZ(0, math.pi, 0)
  528. RoofB = Instance.new("Part")
  529. RoofB.Parent = Model
  530. RoofB.Name = "RoofB"
  531. RoofB.TopSurface = 0
  532. RoofB.BottomSurface = 0
  533. RoofB.CanCollide = true
  534. RoofB.Anchored = false
  535. RoofB.Locked = true
  536. RoofB.BrickColor = BrickColor.new("Brown")
  537. RoofB.formFactor = "Plate"
  538. RoofB.Size = Vector3.new(14, 0.4, 14)
  539. RoofB:BreakJoints()
  540. Weld = Instance.new("Weld")
  541. Weld.Parent = GrassA
  542. Weld.Part0 = GrassA
  543. Weld.Part1 = RoofB
  544. Weld.C0 = CFrame.new(50, -0.4, 36) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  545. RoofC = Instance.new("Part")
  546. RoofC.Parent = Model
  547. RoofC.Name = "RoofC"
  548. RoofC.TopSurface = 0
  549. RoofC.BottomSurface = 0
  550. RoofC.CanCollide = true
  551. RoofC.Anchored = false
  552. RoofC.Locked = true
  553. RoofC.BrickColor = BrickColor.new("Brown")
  554. RoofC.formFactor = "Plate"
  555. RoofC.Size = Vector3.new(14, 0.4, 50)
  556. RoofC:BreakJoints()
  557. Weld = Instance.new("Weld")
  558. Weld.Parent = GrassA
  559. Weld.Part0 = GrassA
  560. Weld.Part1 = RoofC
  561. Weld.C0 = CFrame.new(37, -0.4, 35) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  562. RoofD = Instance.new("Part")
  563. RoofD.Parent = Model
  564. RoofD.Name = "RoofD"
  565. RoofD.TopSurface = 0
  566. RoofD.BottomSurface = 0
  567. RoofD.CanCollide = true
  568. RoofD.Anchored = false
  569. RoofD.Locked = true
  570. RoofD.BrickColor = BrickColor.new("Brown")
  571. RoofD.formFactor = "Plate"
  572. RoofD.Size = Vector3.new(48, 0.4, 14)
  573. RoofD:BreakJoints()
  574. Weld = Instance.new("Weld")
  575. Weld.Parent = GrassA
  576. Weld.Part0 = GrassA
  577. Weld.Part1 = RoofD
  578. Weld.C0 = CFrame.new(20, -0.4, 17) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  579. WallL = Instance.new("WedgePart")
  580. WallL.Parent = Model
  581. WallL.Name = "WallL"
  582. WallL.TopSurface = 0
  583. WallL.BottomSurface = 0
  584. WallL.CanCollide = true
  585. WallL.Anchored = false
  586. WallL.Locked = true
  587. WallL.BrickColor = BrickColor.new("Brown")
  588. WallL.formFactor = "Symmetric"
  589. WallL.Size = Vector3.new(1, 3, 3)
  590. WallL:BreakJoints()
  591. Weld = Instance.new("Weld")
  592. Weld.Parent = GrassA
  593. Weld.Part0 = GrassA
  594. Weld.Part1 = WallL
  595. Weld.C0 = CFrame.new(29, 0.9, 24) * CFrame.fromEulerAnglesXYZ(0, -(math.pi/2), 0)
  596. WallM = Instance.new("WedgePart")
  597. WallM.Parent = Model
  598. WallM.Name = "WallM"
  599. WallM.TopSurface = 0
  600. WallM.BottomSurface = 0
  601. WallM.CanCollide = true
  602. WallM.Anchored = false
  603. WallM.Locked = true
  604. WallM.BrickColor = BrickColor.new("Brown")
  605. WallM.formFactor = "Symmetric"
  606. WallM.Size = Vector3.new(1, 3, 3)
  607. WallM:BreakJoints()
  608. Weld = Instance.new("Weld")
  609. Weld.Parent = GrassA
  610. Weld.Part0 = GrassA
  611. Weld.Part1 = WallM
  612. Weld.C0 = CFrame.new(29, 0.9, 34) * CFrame.fromEulerAnglesXYZ(0, -(math.pi/2), 0)
  613. WallN = Instance.new("WedgePart")
  614. WallN.Parent = Model
  615. WallN.Name = "WallN"
  616. WallN.TopSurface = 0
  617. WallN.BottomSurface = 0
  618. WallN.CanCollide = true
  619. WallN.Anchored = false
  620. WallN.Locked = true
  621. WallN.BrickColor = BrickColor.new("Brown")
  622. WallN.formFactor = "Symmetric"
  623. WallN.Size = Vector3.new(1, 3, 3)
  624. WallN:BreakJoints()
  625. Weld = Instance.new("Weld")
  626. Weld.Parent = GrassA
  627. Weld.Part0 = GrassA
  628. Weld.Part1 = WallN
  629. Weld.C0 = CFrame.new(9, 0.9, 24) * CFrame.fromEulerAnglesXYZ(0, math.pi/2, 0)
  630. WallO = Instance.new("WedgePart")
  631. WallO.Parent = Model
  632. WallO.Name = "WallO"
  633. WallO.TopSurface = 0
  634. WallO.BottomSurface = 0
  635. WallO.CanCollide = true
  636. WallO.Anchored = false
  637. WallO.Locked = true
  638. WallO.BrickColor = BrickColor.new("Brown")
  639. WallO.formFactor = "Symmetric"
  640. WallO.Size = Vector3.new(1, 3, 3)
  641. WallO:BreakJoints()
  642. Weld = Instance.new("Weld")
  643. Weld.Parent = GrassA
  644. Weld.Part0 = GrassA
  645. Weld.Part1 = WallO
  646. Weld.C0 = CFrame.new(9, 0.9, 34) * CFrame.fromEulerAnglesXYZ(0, math.pi/2, 0)
  647. RoofE = Instance.new("Part")
  648. RoofE.Parent = Model
  649. RoofE.Name = "RoofE"
  650. RoofE.TopSurface = 0
  651. RoofE.BottomSurface = 0
  652. RoofE.CanCollide = true
  653. RoofE.Anchored = false
  654. RoofE.Locked = true
  655. RoofE.BrickColor = BrickColor.new("Brown")
  656. RoofE.formFactor = "Plate"
  657. RoofE.Size = Vector3.new(24, 0.4, 36)
  658. RoofE:BreakJoints()
  659. Weld = Instance.new("Weld")
  660. Weld.Parent = GrassA
  661. Weld.Part0 = GrassA
  662. Weld.Part1 = RoofE
  663. Weld.C0 = CFrame.new(-4, -0.4, 42) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  664. RoofF = Instance.new("Part")
  665. RoofF.Parent = Model
  666. RoofF.Name = "RoofF"
  667. RoofF.TopSurface = 0
  668. RoofF.BottomSurface = 0
  669. RoofF.CanCollide = true
  670. RoofF.Anchored = false
  671. RoofF.Locked = true
  672. RoofF.BrickColor = BrickColor.new("Brown")
  673. RoofF.formFactor = "Plate"
  674. RoofF.Size = Vector3.new(22, 0.4, 26)
  675. RoofF:BreakJoints()
  676. Weld = Instance.new("Weld")
  677. Weld.Parent = GrassA
  678. Weld.Part0 = GrassA
  679. Weld.Part1 = RoofF
  680. Weld.C0 = CFrame.new(19, -0.4, 47) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  681. WallP = Instance.new("Part")
  682. WallP.Parent = Model
  683. WallP.Name = "WallP"
  684. WallP.TopSurface = 0
  685. WallP.BottomSurface = 0
  686. WallP.CanCollide = true
  687. WallP.Anchored = false
  688. WallP.Locked = true
  689. WallP.BrickColor = BrickColor.new("Brown")
  690. WallP.formFactor = "Symmetric"
  691. WallP.Size = Vector3.new(1, 3, 1)
  692. WallP:BreakJoints()
  693. Mesh = Instance.new("BlockMesh")
  694. Mesh.Parent = WallP
  695. Mesh.Scale = Vector3.new(1, 1, 1)
  696. Weld = Instance.new("Weld")
  697. Weld.Parent = GrassA
  698. Weld.Part0 = GrassA
  699. Weld.Part1 = WallP
  700. Weld.C0 = CFrame.new(27, 0.9, 24) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  701. WindowB = Instance.new("Part")
  702. WindowB.Parent = Model
  703. WindowB.Name = "WindowB"
  704. WindowB.TopSurface = 0
  705. WindowB.BottomSurface = 0
  706. WindowB.CanCollide = true
  707. WindowB.Anchored = false
  708. WindowB.Locked = true
  709. WindowB.BrickColor = BrickColor.new("Medium blue")
  710. WindowB.Transparency = 0.5
  711. WindowB.formFactor = "Symmetric"
  712. WindowB.Size = Vector3.new(3, 3, 1)
  713. WindowB:BreakJoints()
  714. Mesh = Instance.new("BlockMesh")
  715. Mesh.Parent = WindowB
  716. Mesh.Scale = Vector3.new(1, 1, 0.5)
  717. Weld = Instance.new("Weld")
  718. Weld.Parent = GrassA
  719. Weld.Name = "WindowWeld"
  720. Weld.Part0 = GrassA
  721. Weld.Part1 = WindowB
  722. Weld.C0 = CFrame.new(25, 0.9, 24.25) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  723. WallQ = Instance.new("Part")
  724. WallQ.Parent = Model
  725. WallQ.Name = "WallQ"
  726. WallQ.TopSurface = 0
  727. WallQ.BottomSurface = 0
  728. WallQ.CanCollide = true
  729. WallQ.Anchored = false
  730. WallQ.Locked = true
  731. WallQ.BrickColor = BrickColor.new("Brown")
  732. WallQ.formFactor = "Symmetric"
  733. WallQ.Size = Vector3.new(1, 3, 1)
  734. WallQ:BreakJoints()
  735. Mesh = Instance.new("BlockMesh")
  736. Mesh.Parent = WallQ
  737. Mesh.Scale = Vector3.new(1, 1, 1)
  738. Weld = Instance.new("Weld")
  739. Weld.Parent = GrassA
  740. Weld.Part0 = GrassA
  741. Weld.Part1 = WallQ
  742. Weld.C0 = CFrame.new(23, 0.9, 24) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  743. WindowC = Instance.new("Part")
  744. WindowC.Parent = Model
  745. WindowC.Name = "WindowC"
  746. WindowC.TopSurface = 0
  747. WindowC.BottomSurface = 0
  748. WindowC.CanCollide = true
  749. WindowC.Anchored = false
  750. WindowC.Locked = true
  751. WindowC.BrickColor = BrickColor.new("Medium blue")
  752. WindowC.Transparency = 0.5
  753. WindowC.formFactor = "Symmetric"
  754. WindowC.Size = Vector3.new(3, 3, 1)
  755. WindowC:BreakJoints()
  756. Mesh = Instance.new("BlockMesh")
  757. Mesh.Parent = WindowC
  758. Mesh.Scale = Vector3.new(1, 1, 0.5)
  759. Weld = Instance.new("Weld")
  760. Weld.Parent = GrassA
  761. Weld.Name = "WindowWeld"
  762. Weld.Part0 = GrassA
  763. Weld.Part1 = WindowC
  764. Weld.C0 = CFrame.new(21, 0.9, 24.25) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  765. WallR = Instance.new("Part")
  766. WallR.Parent = Model
  767. WallR.Name = "WallR"
  768. WallR.TopSurface = 0
  769. WallR.BottomSurface = 0
  770. WallR.CanCollide = true
  771. WallR.Anchored = false
  772. WallR.Locked = true
  773. WallR.BrickColor = BrickColor.new("Brown")
  774. WallR.formFactor = "Symmetric"
  775. WallR.Size = Vector3.new(1, 3, 1)
  776. WallR:BreakJoints()
  777. Mesh = Instance.new("BlockMesh")
  778. Mesh.Parent = WallR
  779. Mesh.Scale = Vector3.new(1, 1, 1)
  780. Weld = Instance.new("Weld")
  781. Weld.Parent = GrassA
  782. Weld.Part0 = GrassA
  783. Weld.Part1 = WallR
  784. Weld.C0 = CFrame.new(19, 0.9, 24) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  785. WindowD = Instance.new("Part")
  786. WindowD.Parent = Model
  787. WindowD.Name = "WindowD"
  788. WindowD.TopSurface = 0
  789. WindowD.BottomSurface = 0
  790. WindowD.CanCollide = true
  791. WindowD.Anchored = false
  792. WindowD.Locked = true
  793. WindowD.BrickColor = BrickColor.new("Medium blue")
  794. WindowD.Transparency = 0.5
  795. WindowD.formFactor = "Symmetric"
  796. WindowD.Size = Vector3.new(3, 3, 1)
  797. WindowD:BreakJoints()
  798. Mesh = Instance.new("BlockMesh")
  799. Mesh.Parent = WindowD
  800. Mesh.Scale = Vector3.new(1, 1, 0.5)
  801. Weld = Instance.new("Weld")
  802. Weld.Parent = GrassA
  803. Weld.Name = "WindowWeld"
  804. Weld.Part0 = GrassA
  805. Weld.Part1 = WindowD
  806. Weld.C0 = CFrame.new(17, 0.9, 24.25) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  807. WallS = Instance.new("Part")
  808. WallS.Parent = Model
  809. WallS.Name = "WallS"
  810. WallS.TopSurface = 0
  811. WallS.BottomSurface = 0
  812. WallS.CanCollide = true
  813. WallS.Anchored = false
  814. WallS.Locked = true
  815. WallS.BrickColor = BrickColor.new("Brown")
  816. WallS.formFactor = "Symmetric"
  817. WallS.Size = Vector3.new(1, 3, 1)
  818. WallS:BreakJoints()
  819. Mesh = Instance.new("BlockMesh")
  820. Mesh.Parent = WallS
  821. Mesh.Scale = Vector3.new(1, 1, 1)
  822. Weld = Instance.new("Weld")
  823. Weld.Parent = GrassA
  824. Weld.Part0 = GrassA
  825. Weld.Part1 = WallS
  826. Weld.C0 = CFrame.new(15, 0.9, 24) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  827. WindowE = Instance.new("Part")
  828. WindowE.Parent = Model
  829. WindowE.Name = "WindowE"
  830. WindowE.TopSurface = 0
  831. WindowE.BottomSurface = 0
  832. WindowE.CanCollide = true
  833. WindowE.Anchored = false
  834. WindowE.Locked = true
  835. WindowE.BrickColor = BrickColor.new("Medium blue")
  836. WindowE.Transparency = 0.5
  837. WindowE.formFactor = "Symmetric"
  838. WindowE.Size = Vector3.new(3, 3, 1)
  839. WindowE:BreakJoints()
  840. Mesh = Instance.new("BlockMesh")
  841. Mesh.Parent = WindowE
  842. Mesh.Scale = Vector3.new(1, 1, 0.5)
  843. Weld = Instance.new("Weld")
  844. Weld.Parent = GrassA
  845. Weld.Name = "WindowWeld"
  846. Weld.Part0 = GrassA
  847. Weld.Part1 = WindowE
  848. Weld.C0 = CFrame.new(13, 0.9, 24.25) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  849. WallT = Instance.new("Part")
  850. WallT.Parent = Model
  851. WallT.Name = "WallT"
  852. WallT.TopSurface = 0
  853. WallT.BottomSurface = 0
  854. WallT.CanCollide = true
  855. WallT.Anchored = false
  856. WallT.Locked = true
  857. WallT.BrickColor = BrickColor.new("Brown")
  858. WallT.formFactor = "Symmetric"
  859. WallT.Size = Vector3.new(1, 3, 1)
  860. WallT:BreakJoints()
  861. Mesh = Instance.new("BlockMesh")
  862. Mesh.Parent = WallT
  863. Mesh.Scale = Vector3.new(1, 1, 1)
  864. Weld = Instance.new("Weld")
  865. Weld.Parent = GrassA
  866. Weld.Part0 = GrassA
  867. Weld.Part1 = WallT
  868. Weld.C0 = CFrame.new(11, 0.9, 24) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  869. WallU = Instance.new("Part")
  870. WallU.Parent = Model
  871. WallU.Name = "WallU"
  872. WallU.TopSurface = 0
  873. WallU.BottomSurface = 0
  874. WallU.CanCollide = true
  875. WallU.Anchored = false
  876. WallU.Locked = true
  877. WallU.BrickColor = BrickColor.new("Brown")
  878. WallU.formFactor = "Symmetric"
  879. WallU.Size = Vector3.new(1, 3, 1)
  880. WallU:BreakJoints()
  881. Mesh = Instance.new("BlockMesh")
  882. Mesh.Parent = WallU
  883. Mesh.Scale = Vector3.new(1, 1, 1)
  884. Weld = Instance.new("Weld")
  885. Weld.Parent = GrassA
  886. Weld.Part0 = GrassA
  887. Weld.Part1 = WallU
  888. Weld.C0 = CFrame.new(27, 0.9, 34) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  889. WindowF = Instance.new("Part")
  890. WindowF.Parent = Model
  891. WindowF.Name = "WindowF"
  892. WindowF.TopSurface = 0
  893. WindowF.BottomSurface = 0
  894. WindowF.CanCollide = true
  895. WindowF.Anchored = false
  896. WindowF.Locked = true
  897. WindowF.BrickColor = BrickColor.new("Medium blue")
  898. WindowF.Transparency = 0.5
  899. WindowF.formFactor = "Symmetric"
  900. WindowF.Size = Vector3.new(3, 3, 1)
  901. WindowF:BreakJoints()
  902. Mesh = Instance.new("BlockMesh")
  903. Mesh.Parent = WindowF
  904. Mesh.Scale = Vector3.new(1, 1, 0.5)
  905. Weld = Instance.new("Weld")
  906. Weld.Parent = GrassA
  907. Weld.Name = "WindowWeld"
  908. Weld.Part0 = GrassA
  909. Weld.Part1 = WindowF
  910. Weld.C0 = CFrame.new(25, 0.9, 33.75) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  911. WallV = Instance.new("Part")
  912. WallV.Parent = Model
  913. WallV.Name = "WallV"
  914. WallV.TopSurface = 0
  915. WallV.BottomSurface = 0
  916. WallV.CanCollide = true
  917. WallV.Anchored = false
  918. WallV.Locked = true
  919. WallV.BrickColor = BrickColor.new("Brown")
  920. WallV.formFactor = "Symmetric"
  921. WallV.Size = Vector3.new(1, 3, 1)
  922. WallV:BreakJoints()
  923. Mesh = Instance.new("BlockMesh")
  924. Mesh.Parent = WallV
  925. Mesh.Scale = Vector3.new(1, 1, 1)
  926. Weld = Instance.new("Weld")
  927. Weld.Parent = GrassA
  928. Weld.Part0 = GrassA
  929. Weld.Part1 = WallV
  930. Weld.C0 = CFrame.new(23, 0.9, 34) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  931. WindowG = Instance.new("Part")
  932. WindowG.Parent = Model
  933. WindowG.Name = "WindowG"
  934. WindowG.TopSurface = 0
  935. WindowG.BottomSurface = 0
  936. WindowG.CanCollide = true
  937. WindowG.Anchored = false
  938. WindowG.Locked = true
  939. WindowG.BrickColor = BrickColor.new("Medium blue")
  940. WindowG.Transparency = 0.5
  941. WindowG.formFactor = "Symmetric"
  942. WindowG.Size = Vector3.new(3, 3, 1)
  943. WindowG:BreakJoints()
  944. Mesh = Instance.new("BlockMesh")
  945. Mesh.Parent = WindowG
  946. Mesh.Scale = Vector3.new(1, 1, 0.5)
  947. Weld = Instance.new("Weld")
  948. Weld.Parent = GrassA
  949. Weld.Name = "WindowWeld"
  950. Weld.Part0 = GrassA
  951. Weld.Part1 = WindowG
  952. Weld.C0 = CFrame.new(21, 0.9, 33.75) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  953. WallW = Instance.new("Part")
  954. WallW.Parent = Model
  955. WallW.Name = "WallW"
  956. WallW.TopSurface = 0
  957. WallW.BottomSurface = 0
  958. WallW.CanCollide = true
  959. WallW.Anchored = false
  960. WallW.Locked = true
  961. WallW.BrickColor = BrickColor.new("Brown")
  962. WallW.formFactor = "Symmetric"
  963. WallW.Size = Vector3.new(1, 3, 1)
  964. WallW:BreakJoints()
  965. Mesh = Instance.new("BlockMesh")
  966. Mesh.Parent = WallW
  967. Mesh.Scale = Vector3.new(1, 1, 1)
  968. Weld = Instance.new("Weld")
  969. Weld.Parent = GrassA
  970. Weld.Part0 = GrassA
  971. Weld.Part1 = WallW
  972. Weld.C0 = CFrame.new(19, 0.9, 34) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  973. WindowH = Instance.new("Part")
  974. WindowH.Parent = Model
  975. WindowH.Name = "WindowH"
  976. WindowH.TopSurface = 0
  977. WindowH.BottomSurface = 0
  978. WindowH.CanCollide = true
  979. WindowH.Anchored = false
  980. WindowH.Locked = true
  981. WindowH.BrickColor = BrickColor.new("Medium blue")
  982. WindowH.Transparency = 0.5
  983. WindowH.formFactor = "Symmetric"
  984. WindowH.Size = Vector3.new(3, 3, 1)
  985. WindowH:BreakJoints()
  986. Mesh = Instance.new("BlockMesh")
  987. Mesh.Parent = WindowH
  988. Mesh.Scale = Vector3.new(1, 1, 0.5)
  989. Weld = Instance.new("Weld")
  990. Weld.Parent = GrassA
  991. Weld.Name = "WindowWeld"
  992. Weld.Part0 = GrassA
  993. Weld.Part1 = WindowH
  994. Weld.C0 = CFrame.new(17, 0.9, 33.75) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  995. WallX = Instance.new("Part")
  996. WallX.Parent = Model
  997. WallX.Name = "WallX"
  998. WallX.TopSurface = 0
  999. WallX.BottomSurface = 0
  1000. WallX.CanCollide = true
  1001. WallX.Anchored = false
  1002. WallX.Locked = true
  1003. WallX.BrickColor = BrickColor.new("Brown")
  1004. WallX.formFactor = "Symmetric"
  1005. WallX.Size = Vector3.new(1, 3, 1)
  1006. WallX:BreakJoints()
  1007. Mesh = Instance.new("BlockMesh")
  1008. Mesh.Parent = WallX
  1009. Mesh.Scale = Vector3.new(1, 1, 1)
  1010. Weld = Instance.new("Weld")
  1011. Weld.Parent = GrassA
  1012. Weld.Part0 = GrassA
  1013. Weld.Part1 = WallX
  1014. Weld.C0 = CFrame.new(15, 0.9, 34) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1015. WindowI = Instance.new("Part")
  1016. WindowI.Parent = Model
  1017. WindowI.Name = "WindowI"
  1018. WindowI.TopSurface = 0
  1019. WindowI.BottomSurface = 0
  1020. WindowI.CanCollide = true
  1021. WindowI.Anchored = false
  1022. WindowI.Locked = true
  1023. WindowI.BrickColor = BrickColor.new("Medium blue")
  1024. WindowI.Transparency = 0.5
  1025. WindowI.formFactor = "Symmetric"
  1026. WindowI.Size = Vector3.new(3, 3, 1)
  1027. WindowI:BreakJoints()
  1028. Mesh = Instance.new("BlockMesh")
  1029. Mesh.Parent = WindowI
  1030. Mesh.Scale = Vector3.new(1, 1, 0.5)
  1031. Weld = Instance.new("Weld")
  1032. Weld.Parent = GrassA
  1033. Weld.Name = "WindowWeld"
  1034. Weld.Part0 = GrassA
  1035. Weld.Part1 = WindowI
  1036. Weld.C0 = CFrame.new(13, 0.9, 33.75) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1037. WallY = Instance.new("Part")
  1038. WallY.Parent = Model
  1039. WallY.Name = "WallY"
  1040. WallY.TopSurface = 0
  1041. WallY.BottomSurface = 0
  1042. WallY.CanCollide = true
  1043. WallY.Anchored = false
  1044. WallY.Locked = true
  1045. WallY.BrickColor = BrickColor.new("Brown")
  1046. WallY.formFactor = "Symmetric"
  1047. WallY.Size = Vector3.new(1, 3, 1)
  1048. WallY:BreakJoints()
  1049. Mesh = Instance.new("BlockMesh")
  1050. Mesh.Parent = WallY
  1051. Mesh.Scale = Vector3.new(1, 1, 1)
  1052. Weld = Instance.new("Weld")
  1053. Weld.Parent = GrassA
  1054. Weld.Part0 = GrassA
  1055. Weld.Part1 = WallY
  1056. Weld.C0 = CFrame.new(11, 0.9, 34) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1057. RoofG = Instance.new("Part")
  1058. RoofG.Parent = Model
  1059. RoofG.Name = "RoofG"
  1060. RoofG.TopSurface = 0
  1061. RoofG.BottomSurface = 0
  1062. RoofG.CanCollide = true
  1063. RoofG.Anchored = false
  1064. RoofG.Locked = true
  1065. RoofG.BrickColor = BrickColor.new("Brown")
  1066. RoofG.formFactor = "Plate"
  1067. RoofG.Size = Vector3.new(17, 0.4, 11)
  1068. RoofG:BreakJoints()
  1069. Weld = Instance.new("Weld")
  1070. Weld.Parent = GrassA
  1071. Weld.Part0 = GrassA
  1072. Weld.Part1 = RoofG
  1073. Weld.C0 = CFrame.new(19, 2.6, 29) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1074. RoofH = Instance.new("Part")
  1075. RoofH.Parent = Model
  1076. RoofH.Name = "RoofH"
  1077. RoofH.TopSurface = 0
  1078. RoofH.BottomSurface = 0
  1079. RoofH.CanCollide = true
  1080. RoofH.Anchored = false
  1081. RoofH.Locked = true
  1082. RoofH.BrickColor = BrickColor.new("Brown")
  1083. RoofH.formFactor = "Plate"
  1084. RoofH.Size = Vector3.new(4, 0.4, 11)
  1085. RoofH:BreakJoints()
  1086. Weld = Instance.new("Weld")
  1087. Weld.Parent = GrassA
  1088. Weld.Part0 = GrassA
  1089. Weld.Part1 = RoofH
  1090. Weld.C0 = CFrame.new(9.1, 1, 29) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/4)
  1091. RoofI = Instance.new("Part")
  1092. RoofI.Parent = Model
  1093. RoofI.Name = "RoofI"
  1094. RoofI.TopSurface = 0
  1095. RoofI.BottomSurface = 0
  1096. RoofI.CanCollide = true
  1097. RoofI.Anchored = false
  1098. RoofI.Locked = true
  1099. RoofI.BrickColor = BrickColor.new("Brown")
  1100. RoofI.formFactor = "Plate"
  1101. RoofI.Size = Vector3.new(4, 0.4, 11)
  1102. RoofI:BreakJoints()
  1103. Weld = Instance.new("Weld")
  1104. Weld.Parent = GrassA
  1105. Weld.Part0 = GrassA
  1106. Weld.Part1 = RoofI
  1107. Weld.C0 = CFrame.new(28.9, 1, 29) * CFrame.fromEulerAnglesXYZ(0, 0, -(math.pi/4))
  1108. TableA = Instance.new("Part")
  1109. TableA.Parent = Model
  1110. TableA.Name = "TableA"
  1111. TableA.TopSurface = 0
  1112. TableA.BottomSurface = 0
  1113. TableA.CanCollide = true
  1114. TableA.Anchored = false
  1115. TableA.Locked = true
  1116. TableA.BrickColor = BrickColor.new("Brown")
  1117. TableA.formFactor = "Symmetric"
  1118. TableA.Size = Vector3.new(2, 2, 2)
  1119. TableA:BreakJoints()
  1120. Mesh = Instance.new("CylinderMesh")
  1121. Mesh.Parent = TableA
  1122. Mesh.Scale = Vector3.new(1, 1, 1)
  1123. Weld = Instance.new("Weld")
  1124. Weld.Parent = GrassA
  1125. Weld.Part0 = GrassA
  1126. Weld.Part1 = TableA
  1127. Weld.C0 = CFrame.new(5, -12.8, 30) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1128. TableB = Instance.new("Part")
  1129. TableB.Parent = Model
  1130. TableB.Name = "TableB"
  1131. TableB.TopSurface = 0
  1132. TableB.BottomSurface = 0
  1133. TableB.CanCollide = true
  1134. TableB.Anchored = false
  1135. TableB.Locked = true
  1136. TableB.BrickColor = BrickColor.new("Brown")
  1137. TableB.formFactor = "Symmetric"
  1138. TableB.Size = Vector3.new(2, 2, 2)
  1139. TableB:BreakJoints()
  1140. Mesh = Instance.new("CylinderMesh")
  1141. Mesh.Parent = TableB
  1142. Mesh.Scale = Vector3.new(1, 1, 1)
  1143. Weld = Instance.new("Weld")
  1144. Weld.Parent = GrassA
  1145. Weld.Part0 = GrassA
  1146. Weld.Part1 = TableB
  1147. Weld.C0 = CFrame.new(5, -12.8, 42) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1148. TableC = Instance.new("Part")
  1149. TableC.Parent = Model
  1150. TableC.Name = "TableC"
  1151. TableC.TopSurface = 0
  1152. TableC.BottomSurface = 0
  1153. TableC.CanCollide = true
  1154. TableC.Anchored = false
  1155. TableC.Locked = true
  1156. TableC.BrickColor = BrickColor.new("Brown")
  1157. TableC.formFactor = "Symmetric"
  1158. TableC.Size = Vector3.new(2, 2, 2)
  1159. TableC:BreakJoints()
  1160. Mesh = Instance.new("CylinderMesh")
  1161. Mesh.Parent = TableC
  1162. Mesh.Scale = Vector3.new(1, 1, 1)
  1163. Weld = Instance.new("Weld")
  1164. Weld.Parent = GrassA
  1165. Weld.Part0 = GrassA
  1166. Weld.Part1 = TableC
  1167. Weld.C0 = CFrame.new(15, -12.8, 30) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1168. TableD = Instance.new("Part")
  1169. TableD.Parent = Model
  1170. TableD.Name = "TableD"
  1171. TableD.TopSurface = 0
  1172. TableD.BottomSurface = 0
  1173. TableD.CanCollide = true
  1174. TableD.Anchored = false
  1175. TableD.Locked = true
  1176. TableD.BrickColor = BrickColor.new("Brown")
  1177. TableD.formFactor = "Symmetric"
  1178. TableD.Size = Vector3.new(2, 2, 2)
  1179. TableD:BreakJoints()
  1180. Mesh = Instance.new("CylinderMesh")
  1181. Mesh.Parent = TableD
  1182. Mesh.Scale = Vector3.new(1, 1, 1)
  1183. Weld = Instance.new("Weld")
  1184. Weld.Parent = GrassA
  1185. Weld.Part0 = GrassA
  1186. Weld.Part1 = TableD
  1187. Weld.C0 = CFrame.new(15, -12.8, 42) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1188. TableE = Instance.new("Part")
  1189. TableE.Parent = Model
  1190. TableE.Name = "TableE"
  1191. TableE.TopSurface = 0
  1192. TableE.BottomSurface = 0
  1193. TableE.CanCollide = true
  1194. TableE.Anchored = false
  1195. TableE.Locked = true
  1196. TableE.BrickColor = BrickColor.new("Brown")
  1197. TableE.formFactor = "Plate"
  1198. TableE.Size = Vector3.new(12, 0.4, 14)
  1199. TableE:BreakJoints()
  1200. Weld = Instance.new("Weld")
  1201. Weld.Parent = GrassA
  1202. Weld.Part0 = GrassA
  1203. Weld.Part1 = TableE
  1204. Weld.C0 = CFrame.new(10, -11.6, 36) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1205. SeatA = Instance.new("Seat")
  1206. SeatA.Parent = Model
  1207. SeatA.Name = "SeatA"
  1208. SeatA.TopSurface = 0
  1209. SeatA.BottomSurface = 0
  1210. SeatA.CanCollide = true
  1211. SeatA.Anchored = false
  1212. SeatA.Locked = true
  1213. SeatA.BrickColor = BrickColor.new("Brown")
  1214. SeatA.formFactor = "Plate"
  1215. SeatA.Size = Vector3.new(2, 0.8, 2)
  1216. SeatA:BreakJoints()
  1217. Mesh = Instance.new("CylinderMesh")
  1218. Mesh.Parent = SeatA
  1219. Mesh.Scale = Vector3.new(1, 1, 1)
  1220. Weld = Instance.new("Weld")
  1221. Weld.Parent = GrassA
  1222. Weld.Part0 = GrassA
  1223. Weld.Part1 = SeatA
  1224. Weld.C0 = CFrame.new(8, -13.4, 44) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1225. SeatB = Instance.new("Seat")
  1226. SeatB.Parent = Model
  1227. SeatB.Name = "SeatB"
  1228. SeatB.TopSurface = 0
  1229. SeatB.BottomSurface = 0
  1230. SeatB.CanCollide = true
  1231. SeatB.Anchored = false
  1232. SeatB.Locked = true
  1233. SeatB.BrickColor = BrickColor.new("Brown")
  1234. SeatB.formFactor = "Plate"
  1235. SeatB.Size = Vector3.new(2, 0.8, 2)
  1236. SeatB:BreakJoints()
  1237. Mesh = Instance.new("CylinderMesh")
  1238. Mesh.Parent = SeatB
  1239. Mesh.Scale = Vector3.new(1, 1, 1)
  1240. Weld = Instance.new("Weld")
  1241. Weld.Parent = GrassA
  1242. Weld.Part0 = GrassA
  1243. Weld.Part1 = SeatB
  1244. Weld.C0 = CFrame.new(13, -13.4, 44) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1245. SeatC = Instance.new("Seat")
  1246. SeatC.Parent = Model
  1247. SeatC.Name = "SeatC"
  1248. SeatC.TopSurface = 0
  1249. SeatC.BottomSurface = 0
  1250. SeatC.CanCollide = true
  1251. SeatC.Anchored = false
  1252. SeatC.Locked = true
  1253. SeatC.BrickColor = BrickColor.new("Brown")
  1254. SeatC.formFactor = "Plate"
  1255. SeatC.Size = Vector3.new(2, 0.8, 2)
  1256. SeatC:BreakJoints()
  1257. Mesh = Instance.new("CylinderMesh")
  1258. Mesh.Parent = SeatC
  1259. Mesh.Scale = Vector3.new(1, 1, 1)
  1260. Weld = Instance.new("Weld")
  1261. Weld.Parent = GrassA
  1262. Weld.Part0 = GrassA
  1263. Weld.Part1 = SeatC
  1264. Weld.C0 = CFrame.new(17, -13.4, 37) * CFrame.fromEulerAnglesXYZ(0, math.pi/2, 0)
  1265. SeatD = Instance.new("Seat")
  1266. SeatD.Parent = Model
  1267. SeatD.Name = "SeatD"
  1268. SeatD.TopSurface = 0
  1269. SeatD.BottomSurface = 0
  1270. SeatD.CanCollide = true
  1271. SeatD.Anchored = false
  1272. SeatD.Locked = true
  1273. SeatD.BrickColor = BrickColor.new("Brown")
  1274. SeatD.formFactor = "Plate"
  1275. SeatD.Size = Vector3.new(2, 0.8, 2)
  1276. SeatD:BreakJoints()
  1277. Mesh = Instance.new("CylinderMesh")
  1278. Mesh.Parent = SeatD
  1279. Mesh.Scale = Vector3.new(1, 1, 1)
  1280. Weld = Instance.new("Weld")
  1281. Weld.Parent = GrassA
  1282. Weld.Part0 = GrassA
  1283. Weld.Part1 = SeatD
  1284. Weld.C0 = CFrame.new(17, -13.4, 34) * CFrame.fromEulerAnglesXYZ(0, math.pi/2, 0)
  1285. SeatE = Instance.new("Seat")
  1286. SeatE.Parent = Model
  1287. SeatE.Name = "SeatE"
  1288. SeatE.TopSurface = 0
  1289. SeatE.BottomSurface = 0
  1290. SeatE.CanCollide = true
  1291. SeatE.Anchored = false
  1292. SeatE.Locked = true
  1293. SeatE.BrickColor = BrickColor.new("Brown")
  1294. SeatE.formFactor = "Plate"
  1295. SeatE.Size = Vector3.new(2, 0.8, 2)
  1296. SeatE:BreakJoints()
  1297. Mesh = Instance.new("CylinderMesh")
  1298. Mesh.Parent = SeatE
  1299. Mesh.Scale = Vector3.new(1, 1, 1)
  1300. Weld = Instance.new("Weld")
  1301. Weld.Parent = GrassA
  1302. Weld.Part0 = GrassA
  1303. Weld.Part1 = SeatE
  1304. Weld.C0 = CFrame.new(3, -13.4, 34) * CFrame.fromEulerAnglesXYZ(0, -math.pi/2, 0)
  1305. SeatF = Instance.new("Seat")
  1306. SeatF.Parent = Model
  1307. SeatF.Name = "SeatF"
  1308. SeatF.TopSurface = 0
  1309. SeatF.BottomSurface = 0
  1310. SeatF.CanCollide = true
  1311. SeatF.Anchored = false
  1312. SeatF.Locked = true
  1313. SeatF.BrickColor = BrickColor.new("Brown")
  1314. SeatF.formFactor = "Plate"
  1315. SeatF.Size = Vector3.new(2, 0.8, 2)
  1316. SeatF:BreakJoints()
  1317. Mesh = Instance.new("CylinderMesh")
  1318. Mesh.Parent = SeatF
  1319. Mesh.Scale = Vector3.new(1, 1, 1)
  1320. Weld = Instance.new("Weld")
  1321. Weld.Parent = GrassA
  1322. Weld.Part0 = GrassA
  1323. Weld.Part1 = SeatF
  1324. Weld.C0 = CFrame.new(3, -13.4, 40) * CFrame.fromEulerAnglesXYZ(0, -math.pi/2, 0)
  1325. SeatG = Instance.new("Seat")
  1326. SeatG.Parent = Model
  1327. SeatG.Name = "SeatG"
  1328. SeatG.TopSurface = 0
  1329. SeatG.BottomSurface = 0
  1330. SeatG.CanCollide = true
  1331. SeatG.Anchored = false
  1332. SeatG.Locked = true
  1333. SeatG.BrickColor = BrickColor.new("Brown")
  1334. SeatG.formFactor = "Plate"
  1335. SeatG.Size = Vector3.new(2, 0.8, 2)
  1336. SeatG:BreakJoints()
  1337. Mesh = Instance.new("CylinderMesh")
  1338. Mesh.Parent = SeatG
  1339. Mesh.Scale = Vector3.new(1, 1, 1)
  1340. Weld = Instance.new("Weld")
  1341. Weld.Parent = GrassA
  1342. Weld.Part0 = GrassA
  1343. Weld.Part1 = SeatG
  1344. Weld.C0 = CFrame.new(10, -13.4, 28) * CFrame.fromEulerAnglesXYZ(0, math.pi, 0)
  1345.  
  1346.  
  1347. BedA = Instance.new("Part")
  1348. BedA.Parent = Model
  1349. BedA.Name = "BedA"
  1350. BedA.TopSurface = 0
  1351. BedA.BottomSurface = 0
  1352. BedA.CanCollide = true
  1353. BedA.Anchored = false
  1354. BedA.Locked = true
  1355. BedA.BrickColor = BrickColor.new("Brown")
  1356. BedA.formFactor = "Symmetric"
  1357. BedA.Size = Vector3.new(14, 2, 10)
  1358. BedA:BreakJoints()
  1359. Weld = Instance.new("Weld")
  1360. Weld.Parent = GrassA
  1361. Weld.Part0 = GrassA
  1362. Weld.Part1 = BedA
  1363. Weld.C0 = CFrame.new(36.5, -12.8, 54) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1364. BedB = Instance.new("Part")
  1365. BedB.Parent = Model
  1366. BedB.Name = "BedB"
  1367. BedB.TopSurface = 0
  1368. BedB.BottomSurface = 0
  1369. BedB.CanCollide = true
  1370. BedB.Anchored = false
  1371. BedB.Locked = true
  1372. BedB.BrickColor = BrickColor.new("White")
  1373. BedB.formFactor = "Plate"
  1374. BedB.Size = Vector3.new(4, 0.4, 10)
  1375. BedB:BreakJoints()
  1376. Weld = Instance.new("Weld")
  1377. Weld.Parent = GrassA
  1378. Weld.Part0 = GrassA
  1379. Weld.Part1 = BedB
  1380. Weld.C0 = CFrame.new(41.5, -11.6, 54) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1381. BedC = Instance.new("Part")
  1382. BedC.Parent = Model
  1383. BedC.Name = "BedC"
  1384. BedC.TopSurface = 1
  1385. BedC.BottomSurface = 0
  1386. BedC.CanCollide = true
  1387. BedC.Anchored = false
  1388. BedC.Locked = true
  1389. BedC.BrickColor = BrickColor.new("Bright green")
  1390. BedC.formFactor = "Plate"
  1391. BedC.Size = Vector3.new(10, 0.8, 10)
  1392. BedC:BreakJoints()
  1393. Weld = Instance.new("Weld")
  1394. Weld.Parent = GrassA
  1395. Weld.Part0 = GrassA
  1396. Weld.Part1 = BedC
  1397. Weld.C0 = CFrame.new(34.5, -11.4, 54) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1398. BedD = Instance.new("Part")
  1399. BedD.Parent = Model
  1400. BedD.Name = "BedD"
  1401. BedD.TopSurface = 0
  1402. BedD.BottomSurface = 0
  1403. BedD.CanCollide = true
  1404. BedD.Anchored = false
  1405. BedD.Locked = true
  1406. BedD.BrickColor = BrickColor.new("White")
  1407. BedD.formFactor = "Plate"
  1408. BedD.Size = Vector3.new(3, 0.4, 4)
  1409. BedD:BreakJoints()
  1410. Weld = Instance.new("Weld")
  1411. Weld.Parent = GrassA
  1412. Weld.Part0 = GrassA
  1413. Weld.Part1 = BedD
  1414. Weld.C0 = CFrame.new(42, -11.2, 51.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1415. BedE = Instance.new("Part")
  1416. BedE.Parent = Model
  1417. BedE.Name = "BedE"
  1418. BedE.TopSurface = 0
  1419. BedE.BottomSurface = 0
  1420. BedE.CanCollide = true
  1421. BedE.Anchored = false
  1422. BedE.Locked = true
  1423. BedE.BrickColor = BrickColor.new("White")
  1424. BedE.formFactor = "Plate"
  1425. BedE.Size = Vector3.new(3, 0.4, 4)
  1426. BedE:BreakJoints()
  1427. Weld = Instance.new("Weld")
  1428. Weld.Parent = GrassA
  1429. Weld.Part0 = GrassA
  1430. Weld.Part1 = BedE
  1431. Weld.C0 = CFrame.new(42, -11.2, 56.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1432.  
  1433. ControlPanelA = Instance.new("Part")
  1434. ControlPanelA.Parent = Model
  1435. ControlPanelA.Name = "ControlPanelA"
  1436. ControlPanelA.TopSurface = 0
  1437. ControlPanelA.BottomSurface = 0
  1438. ControlPanelA.CanCollide = true
  1439. ControlPanelA.Anchored = false
  1440. ControlPanelA.Locked = true
  1441. ControlPanelA.BrickColor = BrickColor.new("Bright green")
  1442. ControlPanelA.formFactor = "Symmetric"
  1443. ControlPanelA.Size = Vector3.new(2, 2, 3)
  1444. ControlPanelA:BreakJoints()
  1445. Weld = Instance.new("Weld")
  1446. Weld.Parent = GrassA
  1447. Weld.Part0 = GrassA
  1448. Weld.Part1 = ControlPanelA
  1449. Weld.C0 = CFrame.new(55.5, 1.2, 36) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1450. ControlPanelB = Instance.new("Part")
  1451. ControlPanelB.Parent = Model
  1452. ControlPanelB.Name = "ControlPanelB"
  1453. ControlPanelB.TopSurface = 0
  1454. ControlPanelB.BottomSurface = 0
  1455. ControlPanelB.CanCollide = true
  1456. ControlPanelB.Anchored = false
  1457. ControlPanelB.Locked = true
  1458. ControlPanelB.BrickColor = BrickColor.new("Bright green")
  1459. ControlPanelB.formFactor = "Symmetric"
  1460. ControlPanelB.Size = Vector3.new(2, 2, 3)
  1461. ControlPanelB:BreakJoints()
  1462. Weld = Instance.new("Weld")
  1463. Weld.Parent = GrassA
  1464. Weld.Part0 = ControlPanelA
  1465. Weld.Part1 = ControlPanelB
  1466. Weld.C0 = CFrame.new(-0.5, 1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/4)
  1467.  
  1468. ControlPanelC = Instance.new("Part")
  1469. ControlPanelC.Parent = Model
  1470. ControlPanelC.Name = "ControlPaneC"
  1471. ControlPanelC.TopSurface = 0
  1472. ControlPanelC.BottomSurface = 0
  1473. ControlPanelC.CanCollide = true
  1474. ControlPanelC.Anchored = false
  1475. ControlPanelC.Locked = true
  1476. ControlPanelC.BrickColor = BrickColor.new("Bright green")
  1477. ControlPanelC.formFactor = "Symmetric"
  1478. ControlPanelC.Size = Vector3.new(2, 2, 3)
  1479. ControlPanelC:BreakJoints()
  1480. Weld = Instance.new("Weld")
  1481. Weld.Parent = GrassA
  1482. Weld.Part0 = GrassA
  1483. Weld.Part1 = ControlPanelC
  1484. Weld.C0 = CFrame.new(40, -12.8, 36) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1485. ControlPanelD = Instance.new("Part")
  1486. ControlPanelD.Parent = Model
  1487. ControlPanelD.Name = "ControlPanelD"
  1488. ControlPanelD.TopSurface = 0
  1489. ControlPanelD.BottomSurface = 0
  1490. ControlPanelD.CanCollide = true
  1491. ControlPanelD.Anchored = false
  1492. ControlPanelD.Locked = true
  1493. ControlPanelD.BrickColor = BrickColor.new("Bright green")
  1494. ControlPanelD.formFactor = "Symmetric"
  1495. ControlPanelD.Size = Vector3.new(2, 2, 3)
  1496. ControlPanelD:BreakJoints()
  1497. Weld = Instance.new("Weld")
  1498. Weld.Parent = GrassA
  1499. Weld.Part0 = ControlPanelC
  1500. Weld.Part1 = ControlPanelD
  1501. Weld.C0 = CFrame.new(-0.5, 1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/4)
  1502. LightA = Instance.new("Part")
  1503. LightA.Parent = Model
  1504. LightA.Name = "LightA"
  1505. LightA.TopSurface = 0
  1506. LightA.BottomSurface = 0
  1507. LightA.Reflectance = 0.2
  1508. LightA.CanCollide = true
  1509. LightA.Anchored = false
  1510. LightA.Locked = true
  1511. LightA.BrickColor = BrickColor.new("Bright green")
  1512. LightA.formFactor = "Plate"
  1513. LightA.Size = Vector3.new(1, 0.4, 1)
  1514. LightA:BreakJoints()
  1515. Mesh = Instance.new("CylinderMesh")
  1516. Mesh.Parent = LightA
  1517. Mesh.Scale = Vector3.new(1, 1, 1)
  1518. Weld = Instance.new("Weld")
  1519. Weld.Parent = GrassA
  1520. Weld.Part0 = GrassA
  1521. Weld.Part1 = LightA
  1522. Weld.C0 = CFrame.new(44.5, 0.4, 42.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1523. LightB = Instance.new("Part")
  1524. LightB.Parent = Model
  1525. LightB.Name = "LightB"
  1526. LightB.TopSurface = 0
  1527. LightB.BottomSurface = 0
  1528. LightB.Transparency = 0.5
  1529. LightB.CanCollide = true
  1530. LightB.Anchored = false
  1531. LightB.Locked = true
  1532. LightB.BrickColor = BrickColor.new("Bright green")
  1533. LightB.formFactor = "Plate"
  1534. LightB.Size = Vector3.new(1, 0.4, 1)
  1535. LightB:BreakJoints()
  1536. Mesh = Instance.new("CylinderMesh")
  1537. Mesh.Parent = LightB
  1538. Mesh.Scale = Vector3.new(0.9, 1, 0.9)
  1539. Weld = Instance.new("Weld")
  1540. Weld.Parent = GrassA
  1541. Weld.Part0 = GrassA
  1542. Weld.Part1 = LightB
  1543. Weld.C0 = CFrame.new(44.5, 0.6, 42.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1544. LightC = Instance.new("Part")
  1545. LightC.Parent = Model
  1546. LightC.Name = "LightC"
  1547. LightC.TopSurface = 0
  1548. LightC.BottomSurface = 0
  1549. LightC.Reflectance = 0.2
  1550. LightC.CanCollide = true
  1551. LightC.Anchored = false
  1552. LightC.Locked = true
  1553. LightC.BrickColor = BrickColor.new("Brigt green")
  1554. LightC.formFactor = "Plate"
  1555. LightC.Size = Vector3.new(1, 0.4, 1)
  1556. LightC:BreakJoints()
  1557. Mesh = Instance.new("CylinderMesh")
  1558. Mesh.Parent = LightC
  1559. Mesh.Scale = Vector3.new(1, 1, 1)
  1560. Weld = Instance.new("Weld")
  1561. Weld.Parent = GrassA
  1562. Weld.Part0 = GrassA
  1563. Weld.Part1 = LightC
  1564. Weld.C0 = CFrame.new(42.8, -1.1, 42.5) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  1565. LightD = Instance.new("Part")
  1566. LightD.Parent = Model
  1567. LightD.Name = "LightD"
  1568. LightD.TopSurface = 0
  1569. LightD.BottomSurface = 0
  1570. LightD.Transparency = 0.5
  1571. LightD.CanCollide = true
  1572. LightD.Anchored = false
  1573. LightD.Locked = true
  1574. LightD.BrickColor = BrickColor.new("Bright green")
  1575. LightD.formFactor = "Plate"
  1576. LightD.Size = Vector3.new(1, 0.4, 1)
  1577. LightD:BreakJoints()
  1578. Mesh = Instance.new("CylinderMesh")
  1579. Mesh.Parent = LightD
  1580. Mesh.Scale = Vector3.new(0.9, 1, 0.9)
  1581. Weld = Instance.new("Weld")
  1582. Weld.Parent = GrassA
  1583. Weld.Part0 = LightC
  1584. Weld.Part1 = LightD
  1585. Weld.C0 = CFrame.new(0, 0.2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1586.  
  1587. FurnaceA = Instance.new("Part")
  1588. FurnaceA.Parent = Model
  1589. FurnaceA.Name = "FurnaceA"
  1590. FurnaceA.TopSurface = 0
  1591. FurnaceA.BottomSurface = 0
  1592. FurnaceA.CanCollide = true
  1593. FurnaceA.Anchored = false
  1594. FurnaceA.Locked = true
  1595. FurnaceA.BrickColor = BrickColor.new("Black")
  1596. FurnaceA.formFactor = "Symmetric"
  1597. FurnaceA.Size = Vector3.new(1, 1, 1)
  1598. FurnaceA:BreakJoints()
  1599. Mesh = Instance.new("CylinderMesh")
  1600. Mesh.Parent = FurnaceA
  1601. Mesh.Scale = Vector3.new(1, 1, 1)
  1602. Weld = Instance.new("Weld")
  1603. Weld.Parent = GrassA
  1604. Weld.Part0 = GrassA
  1605. Weld.Part1 = FurnaceA
  1606. Weld.C0 = CFrame.new(42.5, -13.3, 11.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1607. FurnaceB = Instance.new("Part")
  1608. FurnaceB.Parent = Model
  1609. FurnaceB.Name = "FurnaceB"
  1610. FurnaceB.TopSurface = 0
  1611. FurnaceB.BottomSurface = 0
  1612. FurnaceB.CanCollide = true
  1613. FurnaceB.Anchored = false
  1614. FurnaceB.Locked = true
  1615. FurnaceB.BrickColor = BrickColor.new("Black")
  1616. FurnaceB.formFactor = "Symmetric"
  1617. FurnaceB.Size = Vector3.new(1, 1, 1)
  1618. FurnaceB:BreakJoints()
  1619. Mesh = Instance.new("CylinderMesh")
  1620. Mesh.Parent = FurnaceB
  1621. Mesh.Scale = Vector3.new(1, 1, 1)
  1622. Weld = Instance.new("Weld")
  1623. Weld.Parent = GrassA
  1624. Weld.Part0 = GrassA
  1625. Weld.Part1 = FurnaceB
  1626. Weld.C0 = CFrame.new(42.5, -13.3, 16.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1627. FurnaceC = Instance.new("Part")
  1628. FurnaceC.Parent = Model
  1629. FurnaceC.Name = "FurnaceC"
  1630. FurnaceC.TopSurface = 0
  1631. FurnaceC.BottomSurface = 0
  1632. FurnaceC.CanCollide = true
  1633. FurnaceC.Anchored = false
  1634. FurnaceC.Locked = true
  1635. FurnaceC.BrickColor = BrickColor.new("Black")
  1636. FurnaceC.formFactor = "Symmetric"
  1637. FurnaceC.Size = Vector3.new(1, 1, 1)
  1638. FurnaceC:BreakJoints()
  1639. Mesh = Instance.new("CylinderMesh")
  1640. Mesh.Parent = FurnaceC
  1641. Mesh.Scale = Vector3.new(1, 1, 1)
  1642. Weld = Instance.new("Weld")
  1643. Weld.Parent = GrassA
  1644. Weld.Part0 = GrassA
  1645. Weld.Part1 = FurnaceC
  1646. Weld.C0 = CFrame.new(35.5, -13.3, 11.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1647. FurnaceD = Instance.new("Part")
  1648. FurnaceD.Parent = Model
  1649. FurnaceD.Name = "FurnaceD"
  1650. FurnaceD.TopSurface = 0
  1651. FurnaceD.BottomSurface = 0
  1652. FurnaceD.CanCollide = true
  1653. FurnaceD.Anchored = false
  1654. FurnaceD.Locked = true
  1655. FurnaceD.BrickColor = BrickColor.new("Black")
  1656. FurnaceD.formFactor = "Symmetric"
  1657. FurnaceD.Size = Vector3.new(1, 1, 1)
  1658. FurnaceD:BreakJoints()
  1659. Mesh = Instance.new("CylinderMesh")
  1660. Mesh.Parent = FurnaceD
  1661. Mesh.Scale = Vector3.new(1, 1, 1)
  1662. Weld = Instance.new("Weld")
  1663. Weld.Parent = GrassA
  1664. Weld.Part0 = GrassA
  1665. Weld.Part1 = FurnaceD
  1666. Weld.C0 = CFrame.new(35.5, -13.3, 16.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1667. FurnaceE = Instance.new("WedgePart")
  1668. FurnaceE.Parent = Model
  1669. FurnaceE.Name = "FurnaceE"
  1670. FurnaceE.TopSurface = 0
  1671. FurnaceE.BottomSurface = 0
  1672. FurnaceE.CanCollide = true
  1673. FurnaceE.Anchored = false
  1674. FurnaceE.Locked = true
  1675. FurnaceE.BrickColor = BrickColor.new("Black")
  1676. FurnaceE.formFactor = "Symmetric"
  1677. FurnaceE.Size = Vector3.new(6, 4, 4)
  1678. FurnaceE:BreakJoints()
  1679. Weld = Instance.new("Weld")
  1680. Weld.Parent = GrassA
  1681. Weld.Part0 = GrassA
  1682. Weld.Part1 = FurnaceE
  1683. Weld.C0 = CFrame.new(41, -10.8, 14) * CFrame.fromEulerAnglesXYZ(0, -math.pi/2, 0)
  1684. FurnaceF = Instance.new("WedgePart")
  1685. FurnaceF.Parent = Model
  1686. FurnaceF.Name = "FurnaceF"
  1687. FurnaceF.TopSurface = 0
  1688. FurnaceF.BottomSurface = 0
  1689. FurnaceF.CanCollide = true
  1690. FurnaceF.Anchored = false
  1691. FurnaceF.Locked = true
  1692. FurnaceF.BrickColor = BrickColor.new("Black")
  1693. FurnaceF.formFactor = "Symmetric"
  1694. FurnaceF.Size = Vector3.new(6, 4, 4)
  1695. FurnaceF:BreakJoints()
  1696. Weld = Instance.new("Weld")
  1697. Weld.Parent = GrassA
  1698. Weld.Part0 = GrassA
  1699. Weld.Part1 = FurnaceF
  1700. Weld.C0 = CFrame.new(37, -10.8, 14) * CFrame.fromEulerAnglesXYZ(0, math.pi/2, 0)
  1701. FurnaceG = Instance.new("Part")
  1702. FurnaceG.Parent = Model
  1703. FurnaceG.Name = "FurnaceG"
  1704. FurnaceG.TopSurface = 0
  1705. FurnaceG.BottomSurface = 0
  1706. FurnaceG.CanCollide = true
  1707. FurnaceG.Anchored = false
  1708. FurnaceG.Locked = true
  1709. FurnaceG.BrickColor = BrickColor.new("Bright orange")
  1710. FurnaceG.formFactor = "Symmetric"
  1711. FurnaceG.Size = Vector3.new(4, 1, 4)
  1712. FurnaceG:BreakJoints()
  1713. Mesh = Instance.new("BlockMesh")
  1714. Mesh.Parent = FurnaceG
  1715. Mesh.Scale = Vector3.new(1, 0.02, 1)
  1716. Weld = Instance.new("Weld")
  1717. Weld.Parent = GrassA
  1718. Weld.Part0 = GrassA
  1719. Weld.Part1 = FurnaceG
  1720. Weld.C0 = CFrame.new(37, -10.8, 14) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/4)
  1721. FurnaceH = Instance.new("Part")
  1722. FurnaceH.Parent = Model
  1723. FurnaceH.Name = "FurnaceH"
  1724. FurnaceH.TopSurface = 0
  1725. FurnaceH.BottomSurface = 0
  1726. FurnaceH.CanCollide = true
  1727. FurnaceH.Anchored = false
  1728. FurnaceH.Locked = true
  1729. FurnaceH.BrickColor = BrickColor.new("Black")
  1730. FurnaceH.formFactor = "Symmetric"
  1731. FurnaceH.Size = Vector3.new(4, 1, 1)
  1732. FurnaceH:BreakJoints()
  1733. Mesh = Instance.new("BlockMesh")
  1734. Mesh.Parent = FurnaceH
  1735. Mesh.Scale = Vector3.new(1, 0.03, 1)
  1736. Weld = Instance.new("Weld")
  1737. Weld.Parent = GrassA
  1738. Weld.Part0 = GrassA
  1739. Weld.Part1 = FurnaceH
  1740. Weld.C0 = CFrame.new(37, -10.8, 15) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/4)
  1741. FurnaceI = Instance.new("Part")
  1742. FurnaceI.Parent = Model
  1743. FurnaceI.Name = "FurnaceI"
  1744. FurnaceI.TopSurface = 0
  1745. FurnaceI.BottomSurface = 0
  1746. FurnaceI.CanCollide = true
  1747. FurnaceI.Anchored = false
  1748. FurnaceI.Locked = true
  1749. FurnaceI.BrickColor = BrickColor.new("Black")
  1750. FurnaceI.formFactor = "Symmetric"
  1751. FurnaceI.Size = Vector3.new(4, 1, 1)
  1752. FurnaceI:BreakJoints()
  1753. Mesh = Instance.new("BlockMesh")
  1754. Mesh.Parent = FurnaceI
  1755. Mesh.Scale = Vector3.new(1, 0.03, 1)
  1756. Weld = Instance.new("Weld")
  1757. Weld.Parent = GrassA
  1758. Weld.Part0 = GrassA
  1759. Weld.Part1 = FurnaceI
  1760. Weld.C0 = CFrame.new(37, -10.8, 13) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/4)
  1761. FurnaceJ = Instance.new("Part")
  1762. FurnaceJ.Parent = Model
  1763. FurnaceJ.Name = "FurnaceJ"
  1764. FurnaceJ.TopSurface = 0
  1765. FurnaceJ.BottomSurface = 0
  1766. FurnaceJ.CanCollide = true
  1767. FurnaceJ.Anchored = false
  1768. FurnaceJ.Locked = true
  1769. FurnaceJ.BrickColor = BrickColor.new("Black")
  1770. FurnaceJ.formFactor = "Symmetric"
  1771. FurnaceJ.Size = Vector3.new(2, 20, 2)
  1772. FurnaceJ:BreakJoints()
  1773. Mesh = Instance.new("CylinderMesh")
  1774. Mesh.Parent = FurnaceJ
  1775. Mesh.Scale = Vector3.new(1, 1, 1)
  1776. Weld = Instance.new("Weld")
  1777. Weld.Parent = GrassA
  1778. Weld.Part0 = GrassA
  1779. Weld.Part1 = FurnaceJ
  1780. Weld.C0 = CFrame.new(41, -2.8, 14) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1781. FurnaceK = Instance.new("Part")
  1782. FurnaceK.Parent = Model
  1783. FurnaceK.Name = "FurnaceK"
  1784. FurnaceK.TopSurface = 0
  1785. FurnaceK.BottomSurface = 0
  1786. FurnaceK.CanCollide = true
  1787. FurnaceK.Anchored = false
  1788. FurnaceK.Locked = true
  1789. FurnaceK.Transparency = 1
  1790. FurnaceK.BrickColor = BrickColor.new("Black")
  1791. FurnaceK.formFactor = "Symmetric"
  1792. FurnaceK.Size = Vector3.new(1, 1, 1)
  1793. FurnaceK:BreakJoints()
  1794. Weld = Instance.new("Weld")
  1795. Weld.Parent = GrassA
  1796. Weld.Part0 = FurnaceJ
  1797. Weld.Part1 = FurnaceK
  1798. Weld.C0 = CFrame.new(0, 10, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1799. Smoke = Instance.new("Smoke")
  1800. Smoke.Parent = FurnaceK
  1801. Smoke.Enabled = false
  1802. Smoke.Size = 10
  1803. Smoke.Opacity = 100
  1804.  
  1805. DeskA = Instance.new("Part")
  1806. DeskA.Parent = Model
  1807. DeskA.Name = "DeskA"
  1808. DeskA.TopSurface = 0
  1809. DeskA.BottomSurface = 0
  1810. DeskA.CanCollide = true
  1811. DeskA.Anchored = false
  1812. DeskA.Locked = true
  1813. DeskA.BrickColor = BrickColor.new("Brown")
  1814. DeskA.formFactor = "Symmetric"
  1815. DeskA.Size = Vector3.new(1, 2, 1)
  1816. DeskA:BreakJoints()
  1817. Mesh = Instance.new("CylinderMesh")
  1818. Mesh.Parent = DeskA
  1819. Mesh.Scale = Vector3.new(1, 1, 1)
  1820. Weld = Instance.new("Weld")
  1821. Weld.Parent = GrassA
  1822. Weld.Part0 = GrassA
  1823. Weld.Part1 = DeskA
  1824. Weld.C0 = CFrame.new(5, -12.8, 11.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1825. DeskB = Instance.new("Part")
  1826. DeskB.Parent = Model
  1827. DeskB.Name = "DeskB"
  1828. DeskB.TopSurface = 0
  1829. DeskB.BottomSurface = 0
  1830. DeskB.CanCollide = true
  1831. DeskB.Anchored = false
  1832. DeskB.Locked = true
  1833. DeskB.BrickColor = BrickColor.new("Brown")
  1834. DeskB.formFactor = "Symmetric"
  1835. DeskB.Size = Vector3.new(1, 2, 1)
  1836. DeskB:BreakJoints()
  1837. Mesh = Instance.new("CylinderMesh")
  1838. Mesh.Parent = DeskB
  1839. Mesh.Scale = Vector3.new(1, 1, 1)
  1840. Weld = Instance.new("Weld")
  1841. Weld.Parent = GrassA
  1842. Weld.Part0 = GrassA
  1843. Weld.Part1 = DeskB
  1844. Weld.C0 = CFrame.new(15, -12.8, 11.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1845. DeskC = Instance.new("Part")
  1846. DeskC.Parent = Model
  1847. DeskC.Name = "DeskC"
  1848. DeskC.TopSurface = 0
  1849. DeskC.BottomSurface = 0
  1850. DeskC.CanCollide = true
  1851. DeskC.Anchored = false
  1852. DeskC.Locked = true
  1853. DeskC.BrickColor = BrickColor.new("Brown")
  1854. DeskC.formFactor = "Symmetric"
  1855. DeskC.Size = Vector3.new(1, 2, 1)
  1856. DeskC:BreakJoints()
  1857. Mesh = Instance.new("CylinderMesh")
  1858. Mesh.Parent = DeskC
  1859. Mesh.Scale = Vector3.new(1, 1, 1)
  1860. Weld = Instance.new("Weld")
  1861. Weld.Parent = GrassA
  1862. Weld.Part0 = GrassA
  1863. Weld.Part1 = DeskC
  1864. Weld.C0 = CFrame.new(15, -12.8, 16.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1865. DeskD = Instance.new("Part")
  1866. DeskD.Parent = Model
  1867. DeskD.Name = "DeskD"
  1868. DeskD.TopSurface = 0
  1869. DeskD.BottomSurface = 0
  1870. DeskD.CanCollide = true
  1871. DeskD.Anchored = false
  1872. DeskD.Locked = true
  1873. DeskD.BrickColor = BrickColor.new("Brown")
  1874. DeskD.formFactor = "Symmetric"
  1875. DeskD.Size = Vector3.new(1, 2, 1)
  1876. DeskD:BreakJoints()
  1877. Mesh = Instance.new("CylinderMesh")
  1878. Mesh.Parent = DeskD
  1879. Mesh.Scale = Vector3.new(1, 1, 1)
  1880. Weld = Instance.new("Weld")
  1881. Weld.Parent = GrassA
  1882. Weld.Part0 = GrassA
  1883. Weld.Part1 = DeskD
  1884. Weld.C0 = CFrame.new(5, -12.8, 16.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1885. DeskE = Instance.new("Part")
  1886. DeskE.Parent = Model
  1887. DeskE.Name = "DeskE"
  1888. DeskE.TopSurface = 0
  1889. DeskE.BottomSurface = 0
  1890. DeskE.CanCollide = true
  1891. DeskE.Anchored = false
  1892. DeskE.Locked = true
  1893. DeskE.BrickColor = BrickColor.new("Brown")
  1894. DeskE.formFactor = "Plate"
  1895. DeskE.Size = Vector3.new(11, 0.4, 6)
  1896. DeskE:BreakJoints()
  1897. Weld = Instance.new("Weld")
  1898. Weld.Parent = GrassA
  1899. Weld.Part0 = GrassA
  1900. Weld.Part1 = DeskE
  1901. Weld.C0 = CFrame.new(10, -11.6, 14) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1902. SeatH = Instance.new("Seat")
  1903. SeatH.Parent = Model
  1904. SeatH.Name = "SeatH"
  1905. SeatH.TopSurface = 0
  1906. SeatH.BottomSurface = 0
  1907. SeatH.CanCollide = true
  1908. SeatH.Anchored = false
  1909. SeatH.Locked = true
  1910. SeatH.BrickColor = BrickColor.new("Brown")
  1911. SeatH.formFactor = "Plate"
  1912. SeatH.Size = Vector3.new(2, 0.8, 2)
  1913. SeatH:BreakJoints()
  1914. Mesh = Instance.new("CylinderMesh")
  1915. Mesh.Parent = SeatH
  1916. Mesh.Scale = Vector3.new(1, 1, 1)
  1917. Weld = Instance.new("Weld")
  1918. Weld.Parent = GrassA
  1919. Weld.Part0 = GrassA
  1920. Weld.Part1 = SeatH
  1921. Weld.C0 = CFrame.new(10, -13.4, 18) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  1922.  
  1923. LadderA = Instance.new("Part")
  1924. LadderA.Parent = Model
  1925. LadderA.Name = "LadderA"
  1926. LadderA.TopSurface = 0
  1927. LadderA.BottomSurface = 0
  1928. LadderA.CanCollide = true
  1929. LadderA.Anchored = false
  1930. LadderA.Locked = true
  1931. LadderA.BrickColor = BrickColor.new("Brown")
  1932. LadderA.formFactor = "Symmetric"
  1933. LadderA.Size = Vector3.new(1, 5, 1)
  1934. LadderA:BreakJoints()
  1935. Mesh = Instance.new("CylinderMesh")
  1936. Mesh.Parent = LadderA
  1937. Mesh.Scale = Vector3.new(1, 1, 1)
  1938. Status = Instance.new("IntValue")
  1939. Status.Parent = LadderA
  1940. Status.Name = "Status"
  1941. Status.Value = 1
  1942. Weld = Instance.new("Weld")
  1943. Weld.Parent = GrassA
  1944. Weld.Name = "LadderA"
  1945. Weld.Part0 = GrassA
  1946. Weld.Part1 = LadderA
  1947. Weld.C0 = CFrame.new(44, -14, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  1948. LadderB = Instance.new("Part")
  1949. LadderB.Parent = Model
  1950. LadderB.Name = "LadderB"
  1951. LadderB.TopSurface = 0
  1952. LadderB.BottomSurface = 0
  1953. LadderB.CanCollide = true
  1954. LadderB.Anchored = false
  1955. LadderB.Locked = true
  1956. LadderB.BrickColor = BrickColor.new("Brown")
  1957. LadderB.formFactor = "Symmetric"
  1958. LadderB.Size = Vector3.new(1, 5, 1)
  1959. LadderB:BreakJoints()
  1960. Mesh = Instance.new("CylinderMesh")
  1961. Mesh.Parent = LadderB
  1962. Mesh.Scale = Vector3.new(1, 1, 1)
  1963. Weld = Instance.new("Weld")
  1964. Weld.Parent = GrassA
  1965. Weld.Name = "LadderB"
  1966. Weld.Part0 = GrassA
  1967. Weld.Part1 = LadderB
  1968. Weld.C0 = CFrame.new(44, -14, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  1969. LadderC = Instance.new("Part")
  1970. LadderC.Parent = Model
  1971. LadderC.Name = "LadderC"
  1972. LadderC.TopSurface = 0
  1973. LadderC.BottomSurface = 0
  1974. LadderC.CanCollide = true
  1975. LadderC.Anchored = false
  1976. LadderC.Locked = true
  1977. LadderC.BrickColor = BrickColor.new("Brown")
  1978. LadderC.formFactor = "Symmetric"
  1979. LadderC.Size = Vector3.new(1, 5, 1)
  1980. LadderC:BreakJoints()
  1981. Mesh = Instance.new("CylinderMesh")
  1982. Mesh.Parent = LadderC
  1983. Mesh.Scale = Vector3.new(1, 1, 1)
  1984. Weld = Instance.new("Weld")
  1985. Weld.Parent = GrassA
  1986. Weld.Name = "LadderC"
  1987. Weld.Part0 = GrassA
  1988. Weld.Part1 = LadderC
  1989. Weld.C0 = CFrame.new(44, -14, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  1990. LadderD = Instance.new("Part")
  1991. LadderD.Parent = Model
  1992. LadderD.Name = "LadderD"
  1993. LadderD.TopSurface = 0
  1994. LadderD.BottomSurface = 0
  1995. LadderD.CanCollide = true
  1996. LadderD.Anchored = false
  1997. LadderD.Locked = true
  1998. LadderD.BrickColor = BrickColor.new("Brown")
  1999. LadderD.formFactor = "Symmetric"
  2000. LadderD.Size = Vector3.new(1, 5, 1)
  2001. LadderD:BreakJoints()
  2002. Mesh = Instance.new("CylinderMesh")
  2003. Mesh.Parent = LadderD
  2004. Mesh.Scale = Vector3.new(1, 1, 1)
  2005. Weld = Instance.new("Weld")
  2006. Weld.Parent = GrassA
  2007. Weld.Name = "LadderD"
  2008. Weld.Part0 = GrassA
  2009. Weld.Part1 = LadderD
  2010. Weld.C0 = CFrame.new(44, -14, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  2011. LadderE = Instance.new("Part")
  2012. LadderE.Parent = Model
  2013. LadderE.Name = "LadderE"
  2014. LadderE.TopSurface = 0
  2015. LadderE.BottomSurface = 0
  2016. LadderE.CanCollide = true
  2017. LadderE.Anchored = false
  2018. LadderE.Locked = true
  2019. LadderE.BrickColor = BrickColor.new("Brown")
  2020. LadderE.formFactor = "Symmetric"
  2021. LadderE.Size = Vector3.new(1, 5, 1)
  2022. LadderE:BreakJoints()
  2023. Mesh = Instance.new("CylinderMesh")
  2024. Mesh.Parent = LadderE
  2025. Mesh.Scale = Vector3.new(1, 1, 1)
  2026. Weld = Instance.new("Weld")
  2027. Weld.Parent = GrassA
  2028. Weld.Name = "LadderE"
  2029. Weld.Part0 = GrassA
  2030. Weld.Part1 = LadderE
  2031. Weld.C0 = CFrame.new(44, -14, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  2032.  
  2033. TurretA = Instance.new("Part")
  2034. TurretA.Parent = Model
  2035. TurretA.Name = "TurretA"
  2036. TurretA.TopSurface = 0
  2037. TurretA.BottomSurface = 0
  2038. TurretA.CanCollide = true
  2039. TurretA.Anchored = false
  2040. TurretA.Locked = true
  2041. TurretA.BrickColor = BrickColor.new("Dark orange")
  2042. TurretA.Reflectance = 0.2
  2043. TurretA.formFactor = "Symmetric"
  2044. TurretA.Size = Vector3.new(5, 1, 5)
  2045. TurretA:BreakJoints()
  2046. Mesh = Instance.new("CylinderMesh")
  2047. Mesh.Parent = TurretA
  2048. Mesh.Scale = Vector3.new(1, 1, 1)
  2049. Weld = Instance.new("Weld")
  2050. Weld.Parent = GrassA
  2051. Weld.Name = "TurretA"
  2052. Weld.Part0 = GrassA
  2053. Weld.Part1 = TurretA
  2054. Weld.C0 = CFrame.new(20, 0.7, 55) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2055. TurretB = Instance.new("Part")
  2056. TurretB.Parent = Model
  2057. TurretB.Name = "TurretB"
  2058. TurretB.TopSurface = 0
  2059. TurretB.BottomSurface = 0
  2060. TurretB.CanCollide = true
  2061. TurretB.Anchored = false
  2062. TurretB.Locked = true
  2063. TurretB.BrickColor = BrickColor.new("Dark orange")
  2064. TurretB.Reflectance = 0.2
  2065. TurretB.formFactor = "Symmetric"
  2066. TurretB.Shape = "Ball"
  2067. TurretB.Size = Vector3.new(4, 4, 4)
  2068. TurretB:BreakJoints()
  2069. Reloading = Instance.new("BoolValue")
  2070. Reloading.Parent = TurretB
  2071. Reloading.Name = "Reload"
  2072. Reloading.Value = false
  2073. VX = Instance.new("NumberValue")
  2074. VX .Parent = TurretB
  2075. VX.Name = "VX"
  2076. VX.Value = 0.3
  2077. VY = Instance.new("NumberValue")
  2078. VY.Parent = TurretB
  2079. VY.Name = "VY"
  2080. VY.Value = 0
  2081. Weld = Instance.new("Weld")
  2082. Weld.Parent = GrassA
  2083. Weld.Name = "TurretB"
  2084. Weld.Part0 = TurretA
  2085. Weld.Part1 = TurretB
  2086. Weld.C0 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0.3, 0, 0)
  2087. TurretD = Instance.new("Part")
  2088. TurretD.Parent = Model
  2089. TurretD.Name = "TurretD"
  2090. TurretD.TopSurface = 0
  2091. TurretD.BottomSurface = 0
  2092. TurretD.CanCollide = true
  2093. TurretD.Anchored = false
  2094. TurretD.Locked = true
  2095. TurretD.BrickColor = BrickColor.new("Dark orange")
  2096. TurretD.Reflectance = 0.2
  2097. TurretD.formFactor = "Symmetric"
  2098. TurretD.Size = Vector3.new(1, 1, 1)
  2099. TurretD:BreakJoints()
  2100. Mesh = Instance.new("CylinderMesh")
  2101. Mesh.Parent = TurretD
  2102. Mesh.Scale = Vector3.new(1.1, 1, 1.1)
  2103. Weld = Instance.new("Weld")
  2104. Weld.Parent = GrassA
  2105. Weld.Part0 = TurretB
  2106. Weld.Part1 = TurretD
  2107. Weld.C0 = CFrame.new(0, 0, -1.7) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  2108. TurretE = Instance.new("Part")
  2109. TurretE.Parent = Model
  2110. TurretE.Name = "TurretE"
  2111. TurretE.TopSurface = 0
  2112. TurretE.BottomSurface = 0
  2113. TurretE.CanCollide = true
  2114. TurretE.Anchored = false
  2115. TurretE.Locked = true
  2116. TurretE.BrickColor = BrickColor.new("Really black")
  2117. TurretE.formFactor = "Symmetric"
  2118. TurretE.Size = Vector3.new(1, 1, 1)
  2119. TurretE:BreakJoints()
  2120. Mesh = Instance.new("CylinderMesh")
  2121. Mesh.Parent = TurretE
  2122. Mesh.Scale = Vector3.new(1, 1, 1)
  2123. Smoke = Instance.new("Smoke")
  2124. Smoke.Parent = TurretE
  2125. Smoke.Enabled = false
  2126. Smoke.Size = 1
  2127. Smoke.Opacity = 1
  2128. Smoke.RiseVelocity = -25
  2129. Weld = Instance.new("Weld")
  2130. Weld.Parent = GrassA
  2131. Weld.Part0 = TurretD
  2132. Weld.Part1 = TurretE
  2133. Weld.C0 = CFrame.new(0, -0.01, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2134. TurretF = Instance.new("Part")
  2135. TurretF.Parent = Model
  2136. TurretF.Name = "TurretF"
  2137. TurretF.TopSurface = 0
  2138. TurretF.BottomSurface = 0
  2139. TurretF.CanCollide = false
  2140. TurretF.Anchored = false
  2141. TurretF.Locked = true
  2142. TurretF.BrickColor = BrickColor.new("Dark orange")
  2143. TurretF.Reflectance = 0.2
  2144. TurretF.formFactor = "Symmetric"
  2145. TurretF.Size = Vector3.new(1, 1, 1)
  2146. TurretF:BreakJoints()
  2147. Mesh = Instance.new("CylinderMesh")
  2148. Mesh.Parent = TurretF
  2149. Mesh.Scale = Vector3.new(0.2, 1, 0.2)
  2150. Weld = Instance.new("Weld")
  2151. Weld.Parent = GrassA
  2152. Weld.Part0 = TurretD
  2153. Weld.Part1 = TurretF
  2154. Weld.C0 = CFrame.new(0.4, 0, -0.4) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2155. TurretG = Instance.new("Part")
  2156. TurretG.Parent = Model
  2157. TurretG.Name = "TurretG"
  2158. TurretG.TopSurface = 0
  2159. TurretG.BottomSurface = 0
  2160. TurretG.CanCollide = false
  2161. TurretG.Anchored = false
  2162. TurretG.Locked = true
  2163. TurretG.BrickColor = BrickColor.new("Bright green")
  2164. TurretG.Transparency = 0.5
  2165. TurretG.formFactor = "Symmetric"
  2166. TurretG.Size = Vector3.new(1, 1, 1)
  2167. TurretG:BreakJoints()
  2168. Mesh = Instance.new("CylinderMesh")
  2169. Mesh.Parent = TurretG
  2170. Mesh.Scale = Vector3.new(0.18, 0.05, 0.18)
  2171. Weld = Instance.new("Weld")
  2172. Weld.Parent = GrassA
  2173. Weld.Part0 = TurretF
  2174. Weld.Part1 = TurretG
  2175. Weld.C0 = CFrame.new(0, -0.525, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  2176.  
  2177.  
  2178.  
  2179. BP = Instance.new("BodyPosition")
  2180. BP.Parent = FloorA
  2181. BP.maxForce = Vector3.new(math.huge + math.huge, math.huge + math.huge, math.huge + math.huge)
  2182. BP.position = Altitude
  2183. BG = Instance.new("BodyGyro")
  2184. BG.Parent = FloorA
  2185. BG.maxTorque = Vector3.new(math.huge + math.huge, math.huge + math.huge, math.huge + math.huge)
  2186.  
  2187. function Touch(Hit)
  2188. if (Controls == true) then
  2189. if (Controller == nil) then
  2190. if (Hit ~= nil) then
  2191. if (Hit.Parent ~= nil) then
  2192. if (game.Players:GetPlayerFromCharacter(Hit.Parent) ~= nil) then
  2193. Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
  2194. if (Player:findFirstChild("PlayerGui") == nil) then
  2195. Instance.new("PlayerGui").Parent = Player
  2196. end
  2197. if (Player.Character:findFirstChild("Humanoid") ~= nil) then
  2198. if (Player.Character:findFirstChild("Torso") ~= nil) then
  2199. if (Player.Character.Humanoid.Health > 0) then
  2200. Controller = Player
  2201. Button = nil
  2202. X = 0
  2203. Y = 0
  2204. LightB.BrickColor = BrickColor.new("Bright yellow")
  2205. LightD.BrickColor = BrickColor.new("Bright yellow")
  2206. Player.Character.Humanoid.PlatformStand = true
  2207. Weld = Instance.new("Weld")
  2208. Weld.Part0 = ControlPanelB
  2209. Weld.Part1 = Player.Character.Torso
  2210. HitPos = ControlPanelB.Position
  2211. CJ = CFrame.new(HitPos)
  2212. C0 = ControlPanelB.CFrame:inverse() *CJ
  2213. C1 = Player.Character.Torso.CFrame:inverse() * CJ
  2214. Weld.C0 = C0
  2215. Weld.C1 = C1
  2216. Weld.Parent = ControlPanelB
  2217. G = Instance.new("GuiMain")
  2218. G.Parent = Player.PlayerGui
  2219. G.Name = "MahGoey"
  2220. F = Instance.new("Frame")
  2221. F.Parent = G
  2222. F.Size = UDim2.new(0, 160, 0, 160)
  2223. F.Position = UDim2.new(0, 100, 0, 150)
  2224. F.BorderSizePixel = 0
  2225. F.BackgroundColor3 = Color3.new(0, 0, 0)
  2226. F.BackgroundTransparency = 0.3
  2227. Close = Instance.new("TextButton")
  2228. Close.Parent = F
  2229. Close.Name = "Close"
  2230. Close.Text = "X"
  2231. Close.Size = UDim2.new(0, 20, 0, 20)
  2232. Close.Position = UDim2.new(0, 0, 0, 160)
  2233. Close.BorderSizePixel = 0
  2234. Close.BackgroundColor3 = Color3.new(0, 0, 0)
  2235. Close.TextColor3 = Color3.new(1, 1, 1)
  2236. Close.BackgroundTransparency = 0.3
  2237. Close.MouseButton1Click:connect(function()
  2238. Weld:remove()
  2239. end)
  2240. T = Instance.new("TextButton")
  2241. T.Parent = F
  2242. T.Name = "Label"
  2243. T.Text = "Controls"
  2244. T.AutoButtonColor = false
  2245. T.Size = UDim2.new(0, 140, 0, 20)
  2246. T.Position = UDim2.new(0, 20, 0, 160)
  2247. T.BorderSizePixel = 0
  2248. T.BackgroundColor3 = Color3.new(0, 0, 0)
  2249. T.TextColor3 = Color3.new(1, 1, 1)
  2250. T.BackgroundTransparency = 0.3
  2251. T.MouseButton1Down:connect(function(IntX, IntY)
  2252. Button = T
  2253. X = IntX
  2254. Y = IntY
  2255. Yc = IntY - (160 + F.Position.Y.Offset)
  2256. Xc = IntX - (160 + F.Position.X.Offset)
  2257. while true do
  2258. if (Button ~= T) then
  2259. break
  2260. end
  2261. F.Position = UDim2.new(0, (X - 160) - Xc, 0, (Y - 160) - Yc)
  2262. wait(0.0)
  2263. end
  2264. end)
  2265. T.MouseButton1Up:connect(function()
  2266. Button = nil
  2267. end)
  2268. T.MouseLeave:connect(function()
  2269. Button = nil
  2270. end)
  2271. T.MouseMoved:connect(function(IntX, IntY)
  2272. X = IntX
  2273. Y = IntY
  2274. end)
  2275. Minus = Instance.new("TextButton")
  2276. Minus.Parent = F
  2277. Minus.Name = "Minus"
  2278. Minus.Text = "-"
  2279. Minus.Size = UDim2.new(0, 40, 0, 40)
  2280. Minus.Position = UDim2.new(0, 10, 0, 10)
  2281. Minus.BorderSizePixel = 0
  2282. Minus.BackgroundColor3 = Color3.new(0, 0, 0)
  2283. Minus.TextColor3 = Color3.new(1, 1, 1)
  2284. Minus.MouseButton1Down:connect(function()
  2285. Button = Minus
  2286. LightB.BrickColor = BrickColor.new("Bright red")
  2287. LightD.BrickColor = BrickColor.new("Bright red")
  2288. FurnaceK.Smoke.Enabled = true
  2289. while true do
  2290. if (Button ~= Minus) then
  2291. break
  2292. end
  2293. FloorA.BodyPosition.position = Vector3.new(FloorA.BodyPosition.position.x, FloorA.BodyPosition.position.y - 1, FloorA.BodyPosition.position.z)
  2294. wait(0.0)
  2295. end
  2296. FurnaceK.Smoke.Enabled = false
  2297. LightB.BrickColor = BrickColor.new("Bright yellow")
  2298. LightD.BrickColor = BrickColor.new("Bright yellow")
  2299. end)
  2300. Minus.MouseButton1Up:connect(function()
  2301. Button = nil
  2302. end)
  2303. Minus.MouseLeave:connect(function()
  2304. Button = nil
  2305. end)
  2306. Up = Instance.new("ImageButton")
  2307. Up.Parent = F
  2308. Up.Name = "Up"
  2309. Up.Image = "http://www.roblox.com/asset/?id=30390203"
  2310. Up.Size = UDim2.new(0, 40, 0, 40)
  2311. Up.Position = UDim2.new(0, 60, 0, 10)
  2312. Up.BorderSizePixel = 0
  2313. Up.BackgroundColor3 = Color3.new(0, 0, 0)
  2314. Up.MouseButton1Down:connect(function()
  2315. Button = Up
  2316. LightB.BrickColor = BrickColor.new("Bright red")
  2317. LightD.BrickColor = BrickColor.new("Bright red")
  2318. FurnaceK.Smoke.Enabled = true
  2319. while true do
  2320. if (Button ~= Up) then
  2321. break
  2322. end
  2323. FloorA.BodyPosition.position = Vector3.new(FloorA.BodyPosition.position.x + 1, FloorA.BodyPosition.position.y, FloorA.BodyPosition.position.z)
  2324. wait(0.0)
  2325. end
  2326. FurnaceK.Smoke.Enabled = false
  2327. LightB.BrickColor = BrickColor.new("Bright yellow")
  2328. LightD.BrickColor = BrickColor.new("Bright yellow")
  2329. end)
  2330. Up.MouseButton1Up:connect(function()
  2331. Button = nil
  2332. end)
  2333. Up.MouseLeave:connect(function()
  2334. Button = nil
  2335. end)
  2336. Plus = Instance.new("TextButton")
  2337. Plus.Parent = F
  2338. Plus.Name = "Plus"
  2339. Plus.Text = "+"
  2340. Plus.Size = UDim2.new(0, 40, 0, 40)
  2341. Plus.Position = UDim2.new(0, 110, 0, 10)
  2342. Plus.BorderSizePixel = 0
  2343. Plus.BackgroundColor3 = Color3.new(0, 0, 0)
  2344. Plus.TextColor3 = Color3.new(1, 1, 1)
  2345. Plus.MouseButton1Down:connect(function()
  2346. Button = Plus
  2347. LightB.BrickColor = BrickColor.new("Bright red")
  2348. LightD.BrickColor = BrickColor.new("Bright red")
  2349. FurnaceK.Smoke.Enabled = true
  2350. while true do
  2351. if (Button ~= Plus) then
  2352. break
  2353. end
  2354. FloorA.BodyPosition.position = Vector3.new(FloorA.BodyPosition.position.x, FloorA.BodyPosition.position.y + 1, FloorA.BodyPosition.position.z)
  2355. wait(0.0)
  2356. end
  2357. FurnaceK.Smoke.Enabled = false
  2358. LightB.BrickColor = BrickColor.new("Bright yellow")
  2359. LightD.BrickColor = BrickColor.new("Bright yellow")
  2360. end)
  2361. Plus.MouseButton1Up:connect(function()
  2362. Button = nil
  2363. end)
  2364. Plus.MouseLeave:connect(function()
  2365. Button = nil
  2366. end)
  2367. Left = Instance.new("ImageButton")
  2368. Left.Parent = F
  2369. Left.Name = "Left"
  2370. Left.Image = "http://www.roblox.com/asset/?id=30390075"
  2371. Left.Size = UDim2.new(0, 40, 0, 40)
  2372. Left.Position = UDim2.new(0, 10, 0, 60)
  2373. Left.BorderSizePixel = 0
  2374. Left.BackgroundColor3 = Color3.new(0, 0, 0)
  2375. Left.MouseButton1Down:connect(function()
  2376. Button = Left
  2377. LightB.BrickColor = BrickColor.new("Bright red")
  2378. LightD.BrickColor = BrickColor.new("Bright red")
  2379. FurnaceK.Smoke.Enabled = true
  2380. while true do
  2381. if (Button ~= Left) then
  2382. break
  2383. end
  2384. FloorA.BodyPosition.position = Vector3.new(FloorA.BodyPosition.position.x, FloorA.BodyPosition.position.y, FloorA.BodyPosition.position.z - 1)
  2385. wait(0.0)
  2386. end
  2387. FurnaceK.Smoke.Enabled = false
  2388. LightB.BrickColor = BrickColor.new("Bright yellow")
  2389. LightD.BrickColor = BrickColor.new("Bright yellow")
  2390. end)
  2391. Left.MouseButton1Up:connect(function()
  2392. Button = nil
  2393. end)
  2394. Left.MouseLeave:connect(function()
  2395. Button = nil
  2396. end)
  2397. Right = Instance.new("ImageButton")
  2398. Right.Parent = F
  2399. Right.Name = "Right"
  2400. Right.Image = "http://www.roblox.com/asset/?id=30390056"
  2401. Right.Size = UDim2.new(0, 40, 0, 40)
  2402. Right.Position = UDim2.new(0, 110, 0, 60)
  2403. Right.BorderSizePixel = 0
  2404. Right.BackgroundColor3 = Color3.new(0, 0, 0)
  2405. Right.MouseButton1Down:connect(function()
  2406. Button = Right
  2407. LightB.BrickColor = BrickColor.new("Bright red")
  2408. LightD.BrickColor = BrickColor.new("Bright red")
  2409. FurnaceK.Smoke.Enabled = true
  2410. while true do
  2411. if (Button ~= Right) then
  2412. break
  2413. end
  2414. FloorA.BodyPosition.position = Vector3.new(FloorA.BodyPosition.position.x, FloorA.BodyPosition.position.y, FloorA.BodyPosition.position.z + 1)
  2415. wait(0.0)
  2416. end
  2417. FurnaceK.Smoke.Enabled = false
  2418. LightB.BrickColor = BrickColor.new("Bright yellow")
  2419. LightD.BrickColor = BrickColor.new("Bright yellow")
  2420. end)
  2421. Right.MouseButton1Up:connect(function()
  2422. Button = nil
  2423. end)
  2424. Right.MouseLeave:connect(function()
  2425. Button = nil
  2426. end)
  2427. Down = Instance.new("ImageButton")
  2428. Down.Parent = F
  2429. Down.Name = "Down"
  2430. Down.Image = "http://www.roblox.com/asset/?id=30390064"
  2431. Down.Size = UDim2.new(0, 40, 0, 40)
  2432. Down.Position = UDim2.new(0, 60, 0, 110)
  2433. Down.BorderSizePixel = 0
  2434. Down.BackgroundColor3 = Color3.new(0, 0, 0)
  2435. Down.MouseButton1Down:connect(function()
  2436. Button = Down
  2437. LightB.BrickColor = BrickColor.new("Bright red")
  2438. LightD.BrickColor = BrickColor.new("Bright red")
  2439. FurnaceK.Smoke.Enabled = true
  2440. while true do
  2441. if (Button ~= Down) then
  2442. break
  2443. end
  2444. FloorA.BodyPosition.position = Vector3.new(FloorA.BodyPosition.position.x - 1, FloorA.BodyPosition.position.y, FloorA.BodyPosition.position.z)
  2445. wait(0.0)
  2446. end
  2447. FurnaceK.Smoke.Enabled = false
  2448. LightB.BrickColor = BrickColor.new("Bright yellow")
  2449. LightD.BrickColor = BrickColor.new("Bright yellow")
  2450. end)
  2451. Down.MouseButton1Up:connect(function()
  2452. Button = nil
  2453. end)
  2454. Down.MouseLeave:connect(function()
  2455. Button = nil
  2456. end)
  2457. while true do
  2458. if (Player == nil) then
  2459. break
  2460. end
  2461. if (Player.Parent == nil) then
  2462. break
  2463. end
  2464. if (Player.Character == nil) then
  2465. break
  2466. end
  2467. if (Player.Character.Parent == nil) then
  2468. break
  2469. end
  2470. if (Player.Character:findFirstChild("Humanoid") == nil) then
  2471. break
  2472. end
  2473. if (Player.Character:findFirstChild("Torso") == nil) then
  2474. break
  2475. end
  2476. if (Player.Character.Humanoid.Health < 0.01) then
  2477. break
  2478. end
  2479. if (Weld == nil) then
  2480. break
  2481. end
  2482. if (Weld.Parent == nil) then
  2483. break
  2484. end
  2485. if (Controls == false) then
  2486. break
  2487. end
  2488. Player.Character.Humanoid.PlatformStand = true
  2489. wait()
  2490. end
  2491. if (Player ~= nil) then
  2492. if (Player.Parent ~= nil) then
  2493. if (Player.Character ~= nil) then
  2494. if (Player.Character.Parent ~= nil) then
  2495. if (Player.Character:findFirstChild("Humanoid") ~= nil) then
  2496. Player.Character.Humanoid.PlatformStand = false
  2497. end
  2498. end
  2499. end
  2500. end
  2501. end
  2502. if (Weld ~= nil) then
  2503. Weld:remove()
  2504. end
  2505. Button = nil
  2506. G:remove()
  2507. LightB.BrickColor = BrickColor.new("Bright green")
  2508. LightD.BrickColor = BrickColor.new("Bright green")
  2509. wait(2)
  2510. Controller = nil
  2511.  
  2512. end
  2513. end
  2514. end
  2515. end
  2516. end
  2517. end
  2518. end
  2519. end
  2520. end
  2521. ControlPanelB.Touched:connect(Touch)
  2522. ControlPanelC.Touched:connect(Touch)
  2523. function TurretControl(Hit)
  2524. if (Turret == true) then
  2525. if (Turreter == nil) then
  2526. if (Hit ~= nil) then
  2527. if (Hit.Parent ~= nil) then
  2528. if (game.Players:GetPlayerFromCharacter(Hit.Parent) ~= nil) then
  2529. PlayerB = game.Players:GetPlayerFromCharacter(Hit.Parent)
  2530. if (PlayerB:findFirstChild("PlayerGui") == nil) then
  2531. Instance.new("PlayerGui").Parent = PlayerB
  2532. end
  2533. if (PlayerB.Character:findFirstChild("Humanoid") ~= nil) then
  2534. if (PlayerB.Character:findFirstChild("Torso") ~= nil) then
  2535. if (PlayerB.Character.Humanoid.Health > 0) then
  2536. Turreter = PlayerB
  2537. ButtonB = nil
  2538. CloseBool = false
  2539. XB = 0
  2540. YB = 0
  2541. TurretG.BrickColor = BrickColor.new("Bright yellow")
  2542. GB = Instance.new("GuiMain")
  2543. GB.Parent = PlayerB.PlayerGui
  2544. GB.Name = "MahGoey"
  2545. Fram = Instance.new("Frame")
  2546. Fram.Parent = GB
  2547. Fram.Size = UDim2.new(0, 160, 0, 160)
  2548. Fram.Position = UDim2.new(0, 100, 0, 150)
  2549. Fram.BorderSizePixel = 0
  2550. Fram.BackgroundColor3 = Color3.new(0, 0, 0)
  2551. Fram.BackgroundTransparency = 0.3
  2552. CloseB = Instance.new("TextButton")
  2553. CloseB.Parent = Fram
  2554. CloseB.Name = "Close"
  2555. CloseB.Text = "X"
  2556. CloseB.Size = UDim2.new(0, 20, 0, 20)
  2557. CloseB.Position = UDim2.new(0, 0, 0, 160)
  2558. CloseB.BorderSizePixel = 0
  2559. CloseB.BackgroundColor3 = Color3.new(0, 0, 0)
  2560. CloseB.TextColor3 = Color3.new(1, 1, 1)
  2561. CloseB.BackgroundTransparency = 0.3
  2562. CloseB.MouseButton1Click:connect(function()
  2563. CloseBool = true
  2564. end)
  2565. TitleTurret = Instance.new("TextButton")
  2566. TitleTurret.Parent = Fram
  2567. TitleTurret.Name = "Label"
  2568. TitleTurret.Text = "Turret"
  2569. TitleTurret.AutoButtonColor = false
  2570. TitleTurret.Size = UDim2.new(0, 140, 0, 20)
  2571. TitleTurret.Position = UDim2.new(0, 20, 0, 160)
  2572. TitleTurret.BorderSizePixel = 0
  2573. TitleTurret.BackgroundColor3 = Color3.new(0, 0, 0)
  2574. TitleTurret.TextColor3 = Color3.new(1, 1, 1)
  2575. TitleTurret.BackgroundTransparency = 0.3
  2576. TitleTurret.MouseButton1Down:connect(function(IntXB, IntYB)
  2577. ButtonB = TitleTurret
  2578. XB = IntXB
  2579. YB = IntYB
  2580. YcB = IntYB - (160 + Fram.Position.Y.Offset)
  2581. XcB = IntXB - (160 + Fram.Position.X.Offset)
  2582. while true do
  2583. if (ButtonB ~= TitleTurret) then
  2584. break
  2585. end
  2586. Fram.Position = UDim2.new(0, (XB - 160) - XcB, 0, (YB - 160) - YcB)
  2587. wait(0.0)
  2588. end
  2589. end)
  2590. TitleTurret.MouseButton1Up:connect(function()
  2591. ButtonB = nil
  2592. end)
  2593. TitleTurret.MouseLeave:connect(function()
  2594. ButtonB = nil
  2595. end)
  2596. TitleTurret.MouseMoved:connect(function(IntXB, IntYB)
  2597. XB = IntXB
  2598. YB = IntYB
  2599. end)
  2600. MoveUp = Instance.new("ImageButton")
  2601. MoveUp.Parent = Fram
  2602. MoveUp.Name = "Up"
  2603. MoveUp.Image = "http://www.roblox.com/asset/?id=30390203"
  2604. MoveUp.Size = UDim2.new(0, 40, 0, 40)
  2605. MoveUp.Position = UDim2.new(0, 60, 0, 10)
  2606. MoveUp.BorderSizePixel = 0
  2607. MoveUp.BackgroundColor3 = Color3.new(0, 0, 0)
  2608. MoveUp.MouseButton1Down:connect(function()
  2609. ButtonB = MoveUp
  2610. while true do
  2611. if (ButtonB ~= MoveUp) then
  2612. break
  2613. end
  2614. TurretB.VX.Value = TurretB.VX.Value + 0.1
  2615. if (TurretB.VX.Value > 1.5) then
  2616. TurretB.VX.Value = 1.5
  2617. end
  2618. GrassA.TurretB.C0 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(TurretB.VX.Value, 0, 0)
  2619. wait(0.0)
  2620. end
  2621. end)
  2622. MoveUp.MouseButton1Up:connect(function()
  2623. ButtonB = nil
  2624. end)
  2625. MoveUp.MouseLeave:connect(function()
  2626. ButtonB = nil
  2627. end)
  2628. TurnLeft = Instance.new("ImageButton")
  2629. TurnLeft.Parent = Fram
  2630. TurnLeft.Name = "Left"
  2631. TurnLeft.Image = "http://www.roblox.com/asset/?id=30390075"
  2632. TurnLeft.Size = UDim2.new(0, 40, 0, 40)
  2633. TurnLeft.Position = UDim2.new(0, 10, 0, 60)
  2634. TurnLeft.BorderSizePixel = 0
  2635. TurnLeft.BackgroundColor3 = Color3.new(0, 0, 0)
  2636. TurnLeft.MouseButton1Down:connect(function()
  2637. ButtonB = TurnLeft
  2638. while true do
  2639. if (ButtonB ~= TurnLeft) then
  2640. break
  2641. end
  2642. TurretB.VY.Value = TurretB.VY.Value + 0.1
  2643. GrassA.TurretA.C0 = CFrame.new(20, 0.7, 55) * CFrame.fromEulerAnglesXYZ(0, TurretB.VY.Value, 0)
  2644. wait(0.0)
  2645. end
  2646. end)
  2647. TurnLeft.MouseButton1Up:connect(function()
  2648. ButtonB = nil
  2649. end)
  2650. TurnLeft.MouseLeave:connect(function()
  2651. ButtonB = nil
  2652. end)
  2653. Fire = Instance.new("TextButton")
  2654. Fire.Parent = Fram
  2655. Fire.Name = "Fire"
  2656. Fire.Text = "Fire"
  2657. Fire.Size = UDim2.new(0, 40, 0, 40)
  2658. Fire.Position = UDim2.new(0, 60, 0, 60)
  2659. Fire.BorderSizePixel = 0
  2660. Fire.BackgroundColor3 = Color3.new(0, 0, 0)
  2661. Fire.TextColor3 = Color3.new(1, 1, 1)
  2662. Fire.MouseButton1Click:connect(function()
  2663. if (TurretB.Reload.Value == false) then
  2664. TurretB.Reload.Value = true
  2665. TurretG.BrickColor = BrickColor.new("Bright red")
  2666. Missile = Instance.new("Part")
  2667. Missile.Parent = game.Workspace
  2668. Missile.Name = "Missile"
  2669. Missile.TopSurface = 0
  2670. Missile.BottomSurface = 0
  2671. Missile.CanCollide = true
  2672. Missile.Anchored = false
  2673. Missile.Locked = true
  2674. Missile.BrickColor = BrickColor.new("Black")
  2675. Missile.formFactor = "Symmetric"
  2676. Missile.Size = Vector3.new(1, 2, 1)
  2677. Missile:BreakJoints()
  2678. Mesh = Instance.new("CylinderMesh")
  2679. Mesh.Parent = Missile
  2680. Mesh.Scale = Vector3.new(1, 1, 1)
  2681. Missile.CFrame = TurretG.CFrame * CFrame.new(0, -2, 0)
  2682. BV = Instance.new("BodyVelocity")
  2683. BV.Parent = Missile
  2684. BV.maxForce = Vector3.new(1e+999, 1e+999, 1e+999)
  2685. Frame = Missile.CFrame * CFrame.fromEulerAnglesXYZ(-math.pi/2, 0, 0)
  2686. BV.velocity = Frame.lookVector * 100
  2687. MissileScript = script:clone()
  2688. MissileScript.Type.Value = "Missile"
  2689. MissileScript.Parent = Missile
  2690. TurretE.Smoke.Enabled = true
  2691. wait(0.1)
  2692. TurretE.Smoke.Enabled = false
  2693. wait(7.9)
  2694. TurretB.Reload.Value = false
  2695. if (Turreter ~= nil) then
  2696. TurretG.BrickColor = BrickColor.new("Bright yellow")
  2697. end
  2698. end
  2699. end)
  2700.  
  2701. TurnRight = Instance.new("ImageButton")
  2702. TurnRight.Parent = Fram
  2703. TurnRight.Name = "Right"
  2704. TurnRight.Image = "http://www.roblox.com/asset/?id=30390056"
  2705. TurnRight.Size = UDim2.new(0, 40, 0, 40)
  2706. TurnRight.Position = UDim2.new(0, 110, 0, 60)
  2707. TurnRight.BorderSizePixel = 0
  2708. TurnRight.BackgroundColor3 = Color3.new(0, 0, 0)
  2709. TurnRight.MouseButton1Down:connect(function()
  2710. ButtonB = TurnRight
  2711. while true do
  2712. if (ButtonB ~= TurnRight) then
  2713. break
  2714. end
  2715. TurretB.VY.Value = TurretB.VY.Value - 0.1
  2716. GrassA.TurretA.C0 = CFrame.new(20, 0.7, 55) * CFrame.fromEulerAnglesXYZ(0, TurretB.VY.Value, 0)
  2717. wait(0.0)
  2718. end
  2719. end)
  2720. TurnRight.MouseButton1Up:connect(function()
  2721. ButtonB = nil
  2722. end)
  2723. TurnRight.MouseLeave:connect(function()
  2724. ButtonB = nil
  2725. end)
  2726. MoveDown = Instance.new("ImageButton")
  2727. MoveDown.Parent = Fram
  2728. MoveDown.Name = "Down"
  2729. MoveDown.Image = "http://www.roblox.com/asset/?id=30390064"
  2730. MoveDown.Size = UDim2.new(0, 40, 0, 40)
  2731. MoveDown.Position = UDim2.new(0, 60, 0, 110)
  2732. MoveDown.BorderSizePixel = 0
  2733. MoveDown.BackgroundColor3 = Color3.new(0, 0, 0)
  2734. MoveDown.MouseButton1Down:connect(function()
  2735. ButtonB = MoveDown
  2736. while true do
  2737. if (ButtonB ~= MoveDown) then
  2738. break
  2739. end
  2740. TurretB.VX.Value = TurretB.VX.Value - 0.1
  2741. if (TurretB.VX.Value < 0.3) then
  2742. TurretB.VX.Value = 0.3
  2743. end
  2744. GrassA.TurretB.C0 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(TurretB.VX.Value, 0, 0)
  2745. wait(0.0)
  2746. end
  2747. end)
  2748. MoveDown.MouseButton1Up:connect(function()
  2749. ButtonB = nil
  2750. end)
  2751. MoveDown.MouseLeave:connect(function()
  2752. ButtonB = nil
  2753. end)
  2754. while true do
  2755. if (PlayerB == nil) then
  2756. break
  2757. end
  2758. if (PlayerB.Parent == nil) then
  2759. break
  2760. end
  2761. if (PlayerB.Character == nil) then
  2762. break
  2763. end
  2764. if (PlayerB.Character.Parent == nil) then
  2765. break
  2766. end
  2767. if (PlayerB.Character:findFirstChild("Humanoid") == nil) then
  2768. break
  2769. end
  2770. if (PlayerB.Character:findFirstChild("Torso") == nil) then
  2771. break
  2772. end
  2773. if (Turreter.Character.Humanoid.Health < 0.01) then
  2774. break
  2775. end
  2776. if ((Turreter.Character.Torso.Position - TurretB.Position).magnitude > 50) then
  2777. break
  2778. end
  2779. if (CloseBool == true) then
  2780. break
  2781. end
  2782. if (Turret == false) then
  2783. break
  2784. end
  2785. wait()
  2786. end
  2787. ButtonB = nil
  2788. GB:remove()
  2789. TurretG.BrickColor = BrickColor.new("Bright green")
  2790. wait(2)
  2791. Turreter = nil
  2792. end
  2793. end
  2794. end
  2795. end
  2796. end
  2797. end
  2798. end
  2799. end
  2800. end
  2801. TurretB.Touched:connect(TurretControl)
  2802. function SeatManagement(Char, Seat)
  2803. while true do
  2804. if (Char == nil) then
  2805. break
  2806. end
  2807. if (Seat == nil) then
  2808. break
  2809. end
  2810. if (Char.Parent == nil) then
  2811. break
  2812. end
  2813. if (Seat.Parent == nil) then
  2814. break
  2815. end
  2816. if (Seat:findFirstChild("SeatWeld") == nil) then
  2817. break
  2818. end
  2819. if (Char:findFirstChild("Humanoid") == nil) then
  2820. break
  2821. end
  2822. if (Char:findFirstChild("Torso") == nil) then
  2823. break
  2824. end
  2825. if (Char.Humanoid.Health < 0.01) then
  2826. break
  2827. end
  2828. if (Char.Humanoid.Jump == true) then
  2829. break
  2830. end
  2831. if (Char.Humanoid.Sit == false) then
  2832. --break
  2833. end
  2834. if (Char.Humanoid.PlatformStand == false) then
  2835. --break
  2836. end
  2837. wait()
  2838. end
  2839. if (Seat ~= nil) then
  2840. if (Seat.Parent ~= nil) then
  2841. if (Seat:findFirstChild("SeatWeld") ~= nil) then
  2842. Seat.SeatWeld:remove()
  2843. end
  2844. end
  2845. end
  2846.  
  2847.  
  2848.  
  2849. end
  2850.  
  2851.  
  2852.  
  2853.  
  2854.  
  2855.  
  2856.  
  2857.  
  2858.  
  2859.  
  2860.  
  2861.  
  2862.  
  2863.  
  2864. ----Begin chat----
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871. function Chat(Words, Player)
  2872. OrigWords = Words
  2873. Words = Words:lower()
  2874. if (Player.Name == Person.Name) then
  2875. if (Words == "destruct") then
  2876. Model:remove()
  2877. script:remove()
  2878. end
  2879. end
  2880.  
  2881. if (string.find(Words, "cmds") ~= nil) then
  2882. for i = 1, #Commands do
  2883. if not game:service("Workspace"):findFirstChild("CMDmsg") then
  2884. cmd = Instance.new("Hint", Workspace)
  2885. cmd.Name = "CMDmsg"
  2886. cmd.Text = Commands[i]..""
  2887. wait(1)
  2888. cmd:remove()
  2889. end
  2890. end
  2891. end
  2892.  
  2893. if (string.find(Words, "turret") ~= nil) then
  2894. Turret = not Turret
  2895. end
  2896.  
  2897. if (string.find(Words, "windowa") ~= nil) then
  2898. if (WindowA.Status.Value == 1) then
  2899. WindowA.Status.Value = 0
  2900. F1 = WallH.CFrame * CFrame.new(-6.5, -7, -7) * CFrame.fromEulerAnglesXYZ(0, math.pi/2, math.pi/4)
  2901. J = (math.pi/4)/50
  2902. for I = 1, 50 do
  2903. F1 = F1 * CFrame.fromEulerAnglesXYZ(0, 0, J)
  2904. F2 = F1 * CFrame.new(0.2, 10, 0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  2905. HitPos = WallH.Position
  2906. CJ = CFrame.new(HitPos)
  2907. C0 = WallH.CFrame:inverse() *CJ
  2908. C1 = F2:inverse() * CJ
  2909. GrassA.WindowAWeld.Part0 = WallH
  2910. GrassA.WindowAWeld.C0 = C0
  2911. GrassA.WindowAWeld.C1 = C1
  2912. wait(0.01)
  2913. end
  2914. WindowA.Status.Value = 2
  2915. elseif (WindowA.Status.Value == 2) then
  2916. WindowA.Status.Value = 0
  2917. F1 = WallH.CFrame * CFrame.new(-6.5, -7, -7) * CFrame.fromEulerAnglesXYZ(0, math.pi/2, (math.pi/4) * 2)
  2918. J = (math.pi/4)/50
  2919. for I = 1, 50 do
  2920. F1 = F1 * CFrame.fromEulerAnglesXYZ(0, 0, -J)
  2921. F2 = F1 * CFrame.new(0.2, 10, 0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  2922. HitPos = WallH.Position
  2923. CJ = CFrame.new(HitPos)
  2924. C0 = WallH.CFrame:inverse() *CJ
  2925. C1 = F2:inverse() * CJ
  2926. GrassA.WindowAWeld.Part0 = WallH
  2927. GrassA.WindowAWeld.C0 = C0
  2928. GrassA.WindowAWeld.C1 = C1
  2929. wait(0.01)
  2930. end
  2931. WindowA.Status.Value = 1
  2932. end
  2933. end
  2934.  
  2935. if (string.find(Words, "ladder") ~= nil) then
  2936. if (LadderA.Status.Value == 1) then
  2937. LadderA.Status.Value = 0
  2938. for I = 1, 20 do
  2939. GrassA.LadderA.C0 = CFrame.new(44, GrassA.LadderA.C0.y - 0.1, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  2940. GrassA.LadderB.C0 = GrassA.LadderA.C0
  2941. GrassA.LadderC.C0 = GrassA.LadderA.C0
  2942. GrassA.LadderD.C0 = GrassA.LadderA.C0
  2943. GrassA.LadderE.C0 = GrassA.LadderA.C0
  2944. wait(0.01)
  2945. end
  2946. for I = 1, 20 do
  2947. GrassA.LadderA.C0 = CFrame.new(44, GrassA.LadderA.C0.y - 0.1, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  2948. GrassA.LadderB.C0 = GrassA.LadderA.C0
  2949. GrassA.LadderC.C0 = GrassA.LadderA.C0
  2950. GrassA.LadderD.C0 = GrassA.LadderA.C0
  2951. wait(0.01)
  2952. end
  2953. for I = 1, 20 do
  2954. GrassA.LadderA.C0 = CFrame.new(44, GrassA.LadderA.C0.y - 0.1, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  2955. GrassA.LadderB.C0 = GrassA.LadderA.C0
  2956. GrassA.LadderC.C0 = GrassA.LadderA.C0
  2957. wait(0.01)
  2958. end
  2959. for I = 1, 20 do
  2960. GrassA.LadderA.C0 = CFrame.new(44, GrassA.LadderA.C0.y - 0.1, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  2961. GrassA.LadderB.C0 = GrassA.LadderA.C0
  2962. wait(0.01)
  2963. end
  2964. for I = 1, 20 do
  2965. GrassA.LadderA.C0 = CFrame.new(44, GrassA.LadderA.C0.y - 0.1, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  2966. wait(0.01)
  2967. end
  2968. LadderA.Status.Value = 2
  2969. elseif (LadderA.Status.Value == 2) then
  2970. LadderA.Status.Value = 0
  2971. for I = 1, 20 do
  2972. GrassA.LadderA.C0 = CFrame.new(44, GrassA.LadderA.C0.y + 0.1, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  2973. wait(0.01)
  2974. end
  2975. for I = 1, 20 do
  2976. GrassA.LadderA.C0 = CFrame.new(44, GrassA.LadderA.C0.y + 0.1, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  2977. GrassA.LadderB.C0 = GrassA.LadderA.C0
  2978. wait(0.01)
  2979. end
  2980. for I = 1, 20 do
  2981. GrassA.LadderA.C0 = CFrame.new(44, GrassA.LadderA.C0.y + 0.1, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  2982. GrassA.LadderB.C0 = GrassA.LadderA.C0
  2983. GrassA.LadderC.C0 = GrassA.LadderA.C0
  2984. wait(0.01)
  2985. end
  2986. for I = 1, 20 do
  2987. GrassA.LadderA.C0 = CFrame.new(44, GrassA.LadderA.C0.y + 0.1, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  2988. GrassA.LadderB.C0 = GrassA.LadderA.C0
  2989. GrassA.LadderC.C0 = GrassA.LadderA.C0
  2990. GrassA.LadderD.C0 = GrassA.LadderA.C0
  2991. wait(0.01)
  2992. end
  2993. for I = 1, 20 do
  2994. GrassA.LadderA.C0 = CFrame.new(44, GrassA.LadderA.C0.y + 0.1, 36) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0)
  2995. GrassA.LadderB.C0 = GrassA.LadderA.C0
  2996. GrassA.LadderC.C0 = GrassA.LadderA.C0
  2997. GrassA.LadderD.C0 = GrassA.LadderA.C0
  2998. GrassA.LadderE.C0 = GrassA.LadderA.C0
  2999. wait(0.01)
  3000. end
  3001. LadderA.Status.Value = 1
  3002. end
  3003. end
  3004.  
  3005. if (string.find(Words, "front door") ~= nil) then
  3006. if (FrontDoor.Status.Value == 1) then
  3007. FrontDoor.Status.Value = 0
  3008. for I = 1, 100 do
  3009. GrassA.FrontDoorWeld.C0 = CFrame.new(-10, (-5.7) + (0.1 * I), 10.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3010. wait(0.01)
  3011. end
  3012. FrontDoor.Status.Value = 2
  3013. elseif (FrontDoor.Status.Value == 2) then
  3014. FrontDoor.Status.Value = 0
  3015. for I = 1, 120 do
  3016. GrassA.FrontDoorWeld.C0 = CFrame.new(-10, 4.3 - (0.1 * I), 10.5) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  3017. wait(0.01)
  3018. end
  3019. FrontDoor.Status.Value = 1
  3020. end
  3021. end
  3022.  
  3023. if (string.find(Words, "controls") ~= nil) then
  3024. if (Controls == true) then
  3025. Controls = false
  3026. ControlPanelA.Transparency = 1
  3027. ControlPanelA.CanCollide = false
  3028. ControlPanelB.Transparency = 1
  3029. ControlPanelB.CanCollide = false
  3030. ControlPanelC.Transparency = 1
  3031. ControlPanelC.CanCollide = false
  3032. ControlPanelD.Transparency = 1
  3033. ControlPanelD.CanCollide = false
  3034. else
  3035. Controls = true
  3036. ControlPanelA.Transparency = 0
  3037. ControlPanelA.CanCollide = true
  3038. ControlPanelB.Transparency = 0
  3039. ControlPanelB.CanCollide = true
  3040. ControlPanelC.Transparency = 0
  3041. ControlPanelC.CanCollide = true
  3042. ControlPanelD.Transparency = 0
  3043. ControlPanelD.CanCollide = true
  3044. end
  3045. end
  3046.  
  3047. if (string.sub(Words, 1, 2) == "up") then
  3048. Mess = string.sub(Words, 4)
  3049. V = game.Players:GetChildren()
  3050. for I, E in pairs(V) do
  3051. if (string.sub(E.Name:lower(), 1, string.len(Mess)) == Mess) then
  3052. if (E.Character ~= nil) then
  3053. if (E.Character:findFirstChild("Torso") ~= nil) then
  3054. E.Character.Torso.CFrame = FloorA.CFrame * CFrame.new(-20, 5, 0)
  3055. end
  3056. end
  3057. end
  3058. end
  3059. end
  3060.  
  3061. if (string.sub(Words,1,4) == "kick") then
  3062. Mess = string.sub(Words, 6)
  3063. V = game.Players:GetChildren()
  3064. for I, E in pairs(V) do
  3065. if (string.sub(E.Name:lower(), 1, string.len(Mess)) == Mess) then
  3066. pcall(function()
  3067. E:Remove()
  3068. end)
  3069. S = Instance.new("Hint", Workspace)
  3070. S.Text = "[Kick] "..v.Name.." Removed."
  3071. wait(3)
  3072. S:remove()
  3073. end
  3074. end
  3075.  
  3076. if (string.find(Words, "shutdown") ~= nil) then
  3077. for i = 5, 0, -1 do
  3078. x = Instance.new("Hint", Workspace)
  3079. x.Text = "Shutting Down:" ..i wait(1)
  3080. x:remove()
  3081. end
  3082. for _,v in pairs(game.Players:GetPlayers()) do
  3083. v:remove()
  3084. end
  3085. end
  3086. end
  3087.  
  3088. if (string.find(Words, "infuse") ~= nil) then
  3089. Tab = {string.find(Words, "infuse")}
  3090. print(Tab[2])
  3091. Name1 = string.sub(Words, 1, Tab[1] - 2)
  3092. Name2 = string.sub(Words, Tab[2] + 2, string.len(Words))
  3093. Player1 = nil
  3094. Player2 = nil
  3095. L = game.Players:GetChildren()
  3096. for Q, A in pairs(L) do
  3097. if (string.sub(A.Name:lower(), 1, string.len(Name1)) == Name1) then
  3098. Player1 = A
  3099. end
  3100. if (string.sub(A.Name:lower(), 1, string.len(Name2)) == Name2) then
  3101. Player2 = A
  3102. end
  3103. end
  3104. if (Player1 ~= nil) then
  3105. if (Player2 ~= nil) then
  3106. if (Player2.Character ~= nil) then
  3107. Player1.Character = Player2.Character
  3108. end
  3109. end
  3110. end
  3111. end
  3112.  
  3113. if (string.sub(Words, 1, 4) == "seat") then
  3114. Mess = string.sub(Words, 6)
  3115. V = game.Players:GetChildren()
  3116. for I, E in pairs(V) do
  3117. if (string.sub(E.Name:lower(), 1, string.len(Mess)) == Mess) then
  3118. if (E.Character ~= nil) then
  3119. if (E.Character:findFirstChild("Humanoid") ~= nil) then
  3120. if (E.Character:findFirstChild("Torso") ~= nil) then
  3121. Seats = {SeatA, SeatB, SeatC, SeatD, SeatE, SeatF, SeatG, SeatH}
  3122. for F, D in pairs(Seats) do
  3123. if (D:findFirstChild("SeatWeld") == nil) then
  3124. E.Character.Torso.CFrame = D.CFrame * CFrame.new(0, 5, 0)
  3125. E.Character.Humanoid.Sit = true
  3126. SeatWeld = Instance.new("Weld")
  3127. SeatWeld.Parent = D
  3128. SeatWeld.Name = "SeatWeld"
  3129. SeatWeld.Part0 = D
  3130. SeatWeld.Part1 = E.Character.Torso
  3131. SeatWeld.C0 = CFrame.new(0, 0.4, 0)
  3132. SeatWeld.C1 = CFrame.new(0, -1.5, 0)
  3133. coroutine.resume(coroutine.create(SeatManagement), E.Character, D)
  3134. break
  3135. end
  3136. end
  3137.  
  3138. end
  3139. end
  3140. end
  3141. end
  3142. end
  3143. end
  3144. if (string.sub(Words, 1, 6) == "murder") then
  3145. Mess = string.sub(Words, 8)
  3146. V = game.Players:GetChildren()
  3147. for I, E in pairs(V) do
  3148. if (string.sub(E.Name:lower(), 1, string.len(Mess)) == Mess) then
  3149. if (E.Character ~= nil) then
  3150. E.Character:BreakJoints()
  3151. end
  3152. end
  3153. end
  3154. end
  3155. if (string.sub(Words, 1, 4) == "down") then
  3156. Mess = string.sub(Words, 6)
  3157. V = game.Players:GetChildren()
  3158. for I, E in pairs(V) do
  3159. if (string.sub(E.Name:lower(), 1, string.len(Mess)) == Mess) then
  3160. if (E.Character ~= nil) then
  3161. if (E.Character:findFirstChild("Torso") ~= nil) then
  3162. E.Character.Torso.CFrame = CFrame.new(0, 5, 0)
  3163. end
  3164. end
  3165. end
  3166. end
  3167. end
  3168.  
  3169. if (string.find(Words, "sleep") ~= nil) then
  3170. Player.Character.Humanoid.PlatformStand = not Player.Character.Humanoid.PlatformStand
  3171. end
  3172. if (string.find(Words, "dima") ~= nil) then
  3173. if (WindowA.Transparency == 0.5) then
  3174. for I = 1, 3 do
  3175. wait(0.1)
  3176. WindowA.Transparency = WindowA.Transparency - 0.1
  3177. end
  3178. WindowA.BrickColor = BrickColor.new("Brown")
  3179. for I = 1, 2 do
  3180. wait(0.1)
  3181. WindowA.Transparency = WindowA.Transparency - 0.1
  3182. end
  3183. else
  3184. for I = 1, 3 do
  3185. wait(0.1)
  3186. WindowA.Transparency = WindowA.Transparency + 0.1
  3187. end
  3188. WindowA.BrickColor = BrickColor.new("Medium blue")
  3189. for I = 1, 2 do
  3190. wait(0.1)
  3191. WindowA.Transparency = WindowA.Transparency + 0.1
  3192. end
  3193. end
  3194. end
  3195.  
  3196.  
  3197. if (string.find(Words, "dimb") ~= nil) then
  3198. if (WindowB.Transparency == 0.5) then
  3199. for I = 1, 3 do
  3200. wait(0.1)
  3201. WindowB.Transparency = WindowB.Transparency - 0.1
  3202. WindowC.Transparency = WindowC.Transparency - 0.1
  3203. WindowD.Transparency = WindowD.Transparency - 0.1
  3204. WindowE.Transparency = WindowE.Transparency - 0.1
  3205. WindowF.Transparency = WindowF.Transparency - 0.1
  3206. WindowG.Transparency = WindowG.Transparency - 0.1
  3207. WindowH.Transparency = WindowH.Transparency - 0.1
  3208. WindowI.Transparency = WindowI.Transparency - 0.1
  3209. end
  3210. WindowB.BrickColor = BrickColor.new("Brown")
  3211. WindowC.BrickColor = BrickColor.new("Brown")
  3212. WindowD.BrickColor = BrickColor.new("Brown")
  3213. WindowE.BrickColor = BrickColor.new("Brown")
  3214. WindowF.BrickColor = BrickColor.new("Brown")
  3215. WindowG.BrickColor = BrickColor.new("Brown")
  3216. WindowH.BrickColor = BrickColor.new("Brown")
  3217. WindowI.BrickColor = BrickColor.new("Brown")
  3218. for I = 1, 2 do
  3219. wait(0.1)
  3220. WindowB.Transparency = WindowB.Transparency - 0.1
  3221. WindowC.Transparency = WindowC.Transparency - 0.1
  3222. WindowD.Transparency = WindowD.Transparency - 0.1
  3223. WindowE.Transparency = WindowE.Transparency - 0.1
  3224. WindowF.Transparency = WindowF.Transparency - 0.1
  3225. WindowG.Transparency = WindowG.Transparency - 0.1
  3226. WindowH.Transparency = WindowH.Transparency - 0.1
  3227. WindowI.Transparency = WindowI.Transparency - 0.1
  3228. end
  3229. else
  3230. for I = 1, 3 do
  3231. wait(0.1)
  3232. WindowB.Transparency = WindowB.Transparency + 0.1
  3233. WindowC.Transparency = WindowC.Transparency + 0.1
  3234. WindowD.Transparency = WindowD.Transparency + 0.1
  3235. WindowE.Transparency = WindowE.Transparency + 0.1
  3236. WindowF.Transparency = WindowF.Transparency + 0.1
  3237. WindowG.Transparency = WindowG.Transparency + 0.1
  3238. WindowH.Transparency = WindowH.Transparency + 0.1
  3239. WindowI.Transparency = WindowI.Transparency + 0.1
  3240. end
  3241. WindowB.BrickColor = BrickColor.new("Medium blue")
  3242. WindowC.BrickColor = BrickColor.new("Medium blue")
  3243. WindowD.BrickColor = BrickColor.new("Medium blue")
  3244. WindowE.BrickColor = BrickColor.new("Medium blue")
  3245. WindowF.BrickColor = BrickColor.new("Medium blue")
  3246. WindowG.BrickColor = BrickColor.new("Medium blue")
  3247. WindowH.BrickColor = BrickColor.new("Medium blue")
  3248. WindowI.BrickColor = BrickColor.new("Medium blue")
  3249. for I = 1, 2 do
  3250. wait(0.1)
  3251. WindowB.Transparency = WindowB.Transparency + 0.1
  3252. WindowC.Transparency = WindowC.Transparency + 0.1
  3253. WindowD.Transparency = WindowD.Transparency + 0.1
  3254. WindowE.Transparency = WindowE.Transparency + 0.1
  3255. WindowF.Transparency = WindowF.Transparency + 0.1
  3256. WindowG.Transparency = WindowG.Transparency + 0.1
  3257. WindowH.Transparency = WindowH.Transparency + 0.1
  3258. WindowI.Transparency = WindowI.Transparency + 0.1
  3259. end
  3260. end
  3261. end
  3262.  
  3263. if (Words == "fix") then
  3264. Model.Parent = game.Workspace
  3265. for I, E in pairs(Parts) do
  3266. E.Parent = Model
  3267. end
  3268. for V, C in pairs(Welds) do
  3269. C.Parent = GrassA
  3270. end
  3271. end
  3272. end
  3273.  
  3274. function Check(Property, Player)
  3275. if (Property == "Character") then
  3276. if (Player.Character ~= nil) then
  3277. Spawn(Player)
  3278. end
  3279. end
  3280. end
  3281.  
  3282. function Spawn(Player)
  3283. wait(0.1)
  3284. Player.Character.Torso.CFrame = FloorA.CFrame * CFrame.new(-20, 5, 0)
  3285. end
  3286.  
  3287. function List(Table, Value)
  3288. Results = false
  3289. for I, E in pairs(Table) do
  3290. if (E:lower() == Value:lower()) then
  3291. Results = true
  3292. end
  3293. end
  3294. return Results
  3295. end
  3296.  
  3297. function Ban()
  3298. local L = game.Players:GetChildren()
  3299. for I, E in pairs(L) do
  3300. if (List(Banned, E.Name) == true) then
  3301. E:remove()
  3302. local Hint = Instance.new("Hint")
  3303. Hint.Parent = game.Workspace
  3304. Hint.Text = "Removed "..E
  3305. wait(2)
  3306. Hint:remove()
  3307. end
  3308. end
  3309. end
  3310. end
  3311.  
  3312. function Enter(Player)
  3313. if (List(TehList, Player.Name) == true) then
  3314. Player.Chatted:connect(function(msg) Chat(msg, Player) end)
  3315. Player.Changed:connect(function(Property) Check(Property, Player) end)
  3316. end
  3317. end
  3318.  
  3319. game.Players.PlayerAdded:connect(function(v)
  3320. Enter(v)
  3321. end)
  3322.  
  3323.  
  3324. for i,v in pairs(Game.Players:GetPlayers()) do
  3325. Enter(v)
  3326. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement