Advertisement
lafur

Untitled

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