Advertisement
ReisenBunny

An house

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