Advertisement
sneakydodge123

fnaf

Aug 2nd, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 64.00 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145. local runDummyScript = function(f,scri)
  146. local oldenv = getfenv(f)
  147. local newenv = setmetatable({}, {
  148. __index = function(_, k)
  149. if k:lower() == 'script' then
  150. return scri
  151. else
  152. return oldenv[k]
  153. end
  154. end
  155. })
  156. setfenv(f, newenv)
  157. ypcall(function() f() end)
  158. end
  159. cors = {}
  160. mas = Instance.new("Model",game:GetService("Lighting"))
  161. mas.Name = "CompiledModel"
  162. o1 = Instance.new("Model")
  163. o2 = Instance.new("Model")
  164. o3 = Instance.new("Part")
  165. o4 = Instance.new("Script")
  166. o5 = Instance.new("Sound")
  167. o6 = Instance.new("Part")
  168. o7 = Instance.new("Part")
  169. o8 = Instance.new("Model")
  170. o9 = Instance.new("Part")
  171. o10 = Instance.new("SurfaceGui")
  172. o11 = Instance.new("TextLabel")
  173. o12 = Instance.new("ClickDetector")
  174. o13 = Instance.new("Part")
  175. o14 = Instance.new("Decal")
  176. o15 = Instance.new("Decal")
  177. o16 = Instance.new("Sound")
  178. o17 = Instance.new("Part")
  179. o18 = Instance.new("SurfaceGui")
  180. o19 = Instance.new("TextLabel")
  181. o20 = Instance.new("ClickDetector")
  182. o21 = Instance.new("Sound")
  183. o22 = Instance.new("Part")
  184. o23 = Instance.new("PointLight")
  185. o24 = Instance.new("Sound")
  186. o25 = Instance.new("Script")
  187. o26 = Instance.new("Script")
  188. o27 = Instance.new("Sound")
  189. o28 = Instance.new("Model")
  190. o29 = Instance.new("Part")
  191. o30 = Instance.new("Decal")
  192. o31 = Instance.new("Part")
  193. o32 = Instance.new("Part")
  194. o33 = Instance.new("Part")
  195. o34 = Instance.new("Part")
  196. o35 = Instance.new("Part")
  197. o36 = Instance.new("Part")
  198. o37 = Instance.new("Part")
  199. o38 = Instance.new("Part")
  200. o39 = Instance.new("Part")
  201. o40 = Instance.new("Model")
  202. o41 = Instance.new("Model")
  203. o42 = Instance.new("Seat")
  204. o43 = Instance.new("BlockMesh")
  205. o44 = Instance.new("Part")
  206. o45 = Instance.new("SpecialMesh")
  207. o46 = Instance.new("Part")
  208. o47 = Instance.new("Part")
  209. o48 = Instance.new("Part")
  210. o49 = Instance.new("Part")
  211. o50 = Instance.new("Part")
  212. o51 = Instance.new("Part")
  213. o52 = Instance.new("Part")
  214. o53 = Instance.new("Part")
  215. o54 = Instance.new("Part")
  216. o55 = Instance.new("Part")
  217. o56 = Instance.new("Model")
  218. o57 = Instance.new("Part")
  219. o58 = Instance.new("SurfaceGui")
  220. o59 = Instance.new("TextLabel")
  221. o60 = Instance.new("ClickDetector")
  222. o61 = Instance.new("Part")
  223. o62 = Instance.new("Decal")
  224. o63 = Instance.new("Decal")
  225. o64 = Instance.new("Sound")
  226. o65 = Instance.new("Part")
  227. o66 = Instance.new("SurfaceGui")
  228. o67 = Instance.new("TextLabel")
  229. o68 = Instance.new("ClickDetector")
  230. o69 = Instance.new("Sound")
  231. o70 = Instance.new("Part")
  232. o71 = Instance.new("PointLight")
  233. o72 = Instance.new("Sound")
  234. o73 = Instance.new("Script")
  235. o74 = Instance.new("Script")
  236. o75 = Instance.new("Model")
  237. o76 = Instance.new("Part")
  238. o77 = Instance.new("Part")
  239. o78 = Instance.new("Part")
  240. o79 = Instance.new("Part")
  241. o80 = Instance.new("Part")
  242. o81 = Instance.new("Part")
  243. o82 = Instance.new("Part")
  244. o83 = Instance.new("Part")
  245. o84 = Instance.new("Part")
  246. o85 = Instance.new("Part")
  247. o86 = Instance.new("Model")
  248. o87 = Instance.new("Part")
  249. o88 = Instance.new("Part")
  250. o89 = Instance.new("PointLight")
  251. o90 = Instance.new("Model")
  252. o91 = Instance.new("Part")
  253. o92 = Instance.new("CylinderMesh")
  254. o93 = Instance.new("Part")
  255. o94 = Instance.new("CylinderMesh")
  256. o95 = Instance.new("Part")
  257. o96 = Instance.new("SpecialMesh")
  258. o97 = Instance.new("Model")
  259. o98 = Instance.new("Model")
  260. o99 = Instance.new("Part")
  261. o100 = Instance.new("Part")
  262. o101 = Instance.new("Part")
  263. o102 = Instance.new("BlockMesh")
  264. o103 = Instance.new("Part")
  265. o104 = Instance.new("BlockMesh")
  266. o105 = Instance.new("Part")
  267. o106 = Instance.new("Part")
  268. o107 = Instance.new("Model")
  269. o108 = Instance.new("Part")
  270. o109 = Instance.new("Part")
  271. o110 = Instance.new("Part")
  272. o111 = Instance.new("BlockMesh")
  273. o112 = Instance.new("Part")
  274. o113 = Instance.new("BlockMesh")
  275. o114 = Instance.new("Part")
  276. o115 = Instance.new("Part")
  277. o116 = Instance.new("Model")
  278. o117 = Instance.new("Part")
  279. o118 = Instance.new("Part")
  280. o119 = Instance.new("Part")
  281. o120 = Instance.new("BlockMesh")
  282. o121 = Instance.new("Part")
  283. o122 = Instance.new("BlockMesh")
  284. o123 = Instance.new("Part")
  285. o124 = Instance.new("Part")
  286. o125 = Instance.new("Model")
  287. o126 = Instance.new("Part")
  288. o127 = Instance.new("Script")
  289. o128 = Instance.new("ManualWeld")
  290. o129 = Instance.new("Part")
  291. o130 = Instance.new("Script")
  292. o131 = Instance.new("ManualWeld")
  293. o132 = Instance.new("Part")
  294. o133 = Instance.new("SpecialMesh")
  295. o134 = Instance.new("Part")
  296. o135 = Instance.new("ManualWeld")
  297. o136 = Instance.new("Part")
  298. o137 = Instance.new("Part")
  299. o138 = Instance.new("ManualWeld")
  300. o139 = Instance.new("Part")
  301. o140 = Instance.new("ManualWeld")
  302. o141 = Instance.new("SpawnLocation")
  303. o142 = Instance.new("Part")
  304. o143 = Instance.new("Script")
  305. o144 = Instance.new("Sound")
  306. o1.Parent = mas
  307. o2.Name = "Desk"
  308. o2.Parent = o1
  309. o3.Parent = o2
  310. o3.BrickColor = BrickColor.new("Black")
  311. o3.Position = Vector3.new(5.85013962, 3.48223495, -40.8499565)
  312. o3.Rotation = Vector3.new(179.99884, -90, 0)
  313. o3.Anchored = true
  314. o3.Size = Vector3.new(4, 0.400000006, 17)
  315. o3.CFrame = CFrame.new(5.85013962, 3.48223495, -40.8499565, -6.19053244e-005, -0.000117910735, -1, -2.00926497e-005, -1, 0.000117911979, -1, 2.00999493e-005, 6.19029524e-005)
  316. o3.BottomSurface = Enum.SurfaceType.Smooth
  317. o3.TopSurface = Enum.SurfaceType.Smooth
  318. o3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  319. o3.Position = Vector3.new(5.85013962, 3.48223495, -40.8499565)
  320. o4.Parent = o3
  321. table.insert(cors,coroutine.create(function()
  322. wait()
  323. runDummyScript(function()
  324. wait(0)
  325. script.Sound:Play()
  326.  
  327. end,o4)
  328. end))
  329. o5.Parent = o4
  330. o5.SoundId = "rbxassetid://719670740"
  331. o5.Volume = 0.050000000745058
  332. o6.Parent = o2
  333. o6.BrickColor = BrickColor.new("Dark stone grey")
  334. o6.Position = Vector3.new(5.84996033, 1.68221855, -40.8499222)
  335. o6.Rotation = Vector3.new(179.99884, -90, 0)
  336. o6.Anchored = true
  337. o6.Size = Vector3.new(4, 3.20000005, 17)
  338. o6.CFrame = CFrame.new(5.84996033, 1.68221855, -40.8499222, -6.18463382e-005, -0.000117963689, -1.00000107, -2.011986e-005, -1.00000882, 0.000117966069, -1.00000989, 2.01276616e-005, 6.1720144e-005)
  339. o6.BottomSurface = Enum.SurfaceType.Smooth
  340. o6.TopSurface = Enum.SurfaceType.Smooth
  341. o6.Color = Color3.new(0.388235, 0.372549, 0.384314)
  342. o6.Position = Vector3.new(5.84996033, 1.68221855, -40.8499222)
  343. o7.Parent = o2
  344. o7.BrickColor = BrickColor.new("Dark stone grey")
  345. o7.Position = Vector3.new(5.85016632, 2.28227139, -38.3499451)
  346. o7.Rotation = Vector3.new(179.99884, -90, 0)
  347. o7.Anchored = true
  348. o7.Size = Vector3.new(1, 4.4000001, 17)
  349. o7.CFrame = CFrame.new(5.85016632, 2.28227139, -38.3499451, -6.18463382e-005, -0.000117963689, -1.00000107, -2.011986e-005, -1.00000882, 0.000117966069, -1.00000989, 2.01276616e-005, 6.1720144e-005)
  350. o7.BottomSurface = Enum.SurfaceType.Smooth
  351. o7.TopSurface = Enum.SurfaceType.Smooth
  352. o7.Color = Color3.new(0.388235, 0.372549, 0.384314)
  353. o7.Position = Vector3.new(5.85016632, 2.28227139, -38.3499451)
  354. o8.Parent = o1
  355. o9.Name = "DoorButton"
  356. o9.Parent = o8
  357. o9.Material = Enum.Material.Neon
  358. o9.BrickColor = BrickColor.new("Lime green")
  359. o9.Position = Vector3.new(14.3264046, 7.53157949, -57.1381378)
  360. o9.Rotation = Vector3.new(179.932083, 89.9406586, -179.975037)
  361. o9.Anchored = true
  362. o9.Size = Vector3.new(2.19999981, 2.20000005, 0.200000003)
  363. o9.CFrame = CFrame.new(14.3264046, 7.53157949, -57.1381378, -1.6996637e-007, 7.40669748e-011, 0.999999464, 4.63033167e-010, 1.00000882, -5.13296072e-011, -1.00000834, 4.67839101e-010, -4.33064997e-008)
  364. o9.BottomSurface = Enum.SurfaceType.Smooth
  365. o9.TopSurface = Enum.SurfaceType.Smooth
  366. o9.Color = Color3.new(0, 1, 0)
  367. o9.Position = Vector3.new(14.3264046, 7.53157949, -57.1381378)
  368. o10.Parent = o9
  369. o10.CanvasSize = Vector2.new(110, 85)
  370. o11.Name = "Text"
  371. o11.Parent = o10
  372. o11.Size = UDim2.new(1,0,1,0)
  373. o11.Text = "DOOR"
  374. o11.BackgroundColor3 = Color3.new(1, 1, 1)
  375. o11.BackgroundTransparency = 1
  376. o11.Font = Enum.Font.SourceSansBold
  377. o11.FontSize = Enum.FontSize.Size36
  378. o11.TextColor3 = Color3.new(0.560784, 0.560784, 0.560784)
  379. o12.Parent = o9
  380. o12.MaxActivationDistance = 10
  381. o13.Name = "Door"
  382. o13.Parent = o8
  383. o13.Material = Enum.Material.DiamondPlate
  384. o13.BrickColor = BrickColor.new("Black")
  385. o13.Position = Vector3.new(15.1764145, 19.9570637, -51.6380806)
  386. o13.Rotation = Vector3.new(179.932083, 89.9406586, -179.975037)
  387. o13.Anchored = true
  388. o13.Size = Vector3.new(8.5, 13.750001, 1)
  389. o13.CFrame = CFrame.new(15.1764145, 19.9570637, -51.6380806, -1.6996637e-007, 7.40669748e-011, 0.999999464, 4.63033167e-010, 1.00000882, -5.13296072e-011, -1.00000834, 4.67839101e-010, -4.33064997e-008)
  390. o13.BottomSurface = Enum.SurfaceType.Smooth
  391. o13.TopSurface = Enum.SurfaceType.Smooth
  392. o13.Color = Color3.new(0.105882, 0.164706, 0.207843)
  393. o13.Position = Vector3.new(15.1764145, 19.9570637, -51.6380806)
  394. o14.Parent = o13
  395. o14.Texture = "http://www.roblox.com/asset/?id=178383193"
  396. o15.Parent = o13
  397. o15.Texture = "http://www.roblox.com/asset/?id=178383193"
  398. o15.Face = Enum.NormalId.Back
  399. o16.Parent = o13
  400. o16.SoundId = "http://www.roblox.com/asset/?id=179054361"
  401. o16.Volume = 1
  402. o17.Name = "LightButton"
  403. o17.Parent = o8
  404. o17.Material = Enum.Material.Neon
  405. o17.BrickColor = BrickColor.new("Institutional white")
  406. o17.Position = Vector3.new(14.3264084, 5.1315527, -57.1381378)
  407. o17.Rotation = Vector3.new(179.932083, 89.9406586, -179.975037)
  408. o17.Anchored = true
  409. o17.Size = Vector3.new(2.19999981, 2.20000005, 0.200000003)
  410. o17.CFrame = CFrame.new(14.3264084, 5.1315527, -57.1381378, -1.6996637e-007, 7.40669748e-011, 0.999999464, 4.63033167e-010, 1.00000882, -5.13296072e-011, -1.00000834, 4.67839101e-010, -4.33064997e-008)
  411. o17.BottomSurface = Enum.SurfaceType.Smooth
  412. o17.TopSurface = Enum.SurfaceType.Smooth
  413. o17.Color = Color3.new(0.972549, 0.972549, 0.972549)
  414. o17.Position = Vector3.new(14.3264084, 5.1315527, -57.1381378)
  415. o18.Parent = o17
  416. o18.CanvasSize = Vector2.new(110, 85)
  417. o19.Name = "Text"
  418. o19.Parent = o18
  419. o19.Size = UDim2.new(1,0,1,0)
  420. o19.Text = "LIGHT"
  421. o19.BackgroundColor3 = Color3.new(1, 1, 1)
  422. o19.BackgroundTransparency = 1
  423. o19.Font = Enum.Font.SourceSansBold
  424. o19.FontSize = Enum.FontSize.Size36
  425. o19.TextColor3 = Color3.new(0, 0, 0)
  426. o20.Parent = o17
  427. o20.MaxActivationDistance = 10
  428. o21.Parent = o17
  429. o21.SoundId = "http://www.roblox.com/asset/?id=156286438"
  430. o21.Volume = 0
  431. o22.Name = "Light"
  432. o22.Parent = o8
  433. o22.Transparency = 1
  434. o22.Position = Vector3.new(21.4764023, 2.08152962, -53.638092)
  435. o22.Rotation = Vector3.new(179.932083, 89.9406586, -179.975037)
  436. o22.Anchored = true
  437. o22.CanCollide = false
  438. o22.Size = Vector3.new(4, 4, 4)
  439. o22.CFrame = CFrame.new(21.4764023, 2.08152962, -53.638092, -1.6996637e-007, 7.40669748e-011, 0.999999464, 4.63033167e-010, 1.00000882, -5.13296072e-011, -1.00000834, 4.67839101e-010, -4.33064997e-008)
  440. o22.BottomSurface = Enum.SurfaceType.Smooth
  441. o22.TopSurface = Enum.SurfaceType.Smooth
  442. o22.Position = Vector3.new(21.4764023, 2.08152962, -53.638092)
  443. o23.Parent = o22
  444. o23.Color = Color3.new(0, 0, 1)
  445. o23.Enabled = false
  446. o23.Brightness = 0
  447. o23.Range = 15
  448. o24.Parent = o22
  449. o24.SoundId = "http://www.roblox.com/asset/?id=133116870"
  450. o24.Volume = 0
  451. o24.Looped = true
  452. o25.Parent = o22
  453. table.insert(cors,coroutine.create(function()
  454. wait()
  455. runDummyScript(function()
  456. wait()
  457. script.Parent.Sound:play()
  458. while true do
  459. wait(math.random(1,3))
  460. script.Parent.Sound:pause()
  461. script.Parent.PointLight.Enabled = false
  462. wait(0.1)
  463. script.Parent.Sound:play()
  464. script.Parent.PointLight.Enabled = true
  465. end
  466. end,o25)
  467. end))
  468. o26.Name = "Main"
  469. o26.Parent = o8
  470. table.insert(cors,coroutine.create(function()
  471. wait()
  472. runDummyScript(function()
  473. db = false
  474. door = false
  475. script.Parent.LightButton.ClickDetector.MouseClick:connect(function()
  476. script.Parent.LightButton.Sound:play()
  477. if script.Parent.Light.PointLight.Brightness == 1 then
  478. script.Parent.Light.PointLight.Brightness = 0
  479. script.Parent.Light.Sound.Volume = 0
  480. elseif script.Parent.Light.PointLight.Brightness == 0 then
  481. script.Parent.Light.PointLight.Brightness = 1
  482. script.Parent.Light.Sound.Volume = 0.5
  483. end
  484. end)
  485.  
  486. script.Parent.DoorButton.ClickDetector.MouseClick:connect(function()
  487. if not db then db = true
  488. if not door then door = true
  489. script.Parent.Door.Sound:play()
  490. for i=0,15 do
  491. script.Parent.Door.CFrame = script.Parent.Door.CFrame - Vector3.new(0,0.8,0)
  492. wait()
  493. end
  494. script.Parent.Door.CFrame = script.Parent.Door.CFrame - Vector3.new(0,0.2,0)
  495. db = false
  496. elseif door then door = false
  497. script.Parent.Door.Sound:play()
  498. for i=0,15 do
  499. script.Parent.Door.CFrame = script.Parent.Door.CFrame + Vector3.new(0,0.8,0)
  500. wait()
  501. end
  502. script.Parent.Door.CFrame = script.Parent.Door.CFrame + Vector3.new(0,0.2,0)
  503. db = false
  504. end
  505. end
  506. end)
  507. end,o26)
  508. end))
  509. o27.Parent = o8
  510. o28.Parent = o1
  511. o29.Parent = o28
  512. o29.Material = Enum.Material.SmoothPlastic
  513. o29.Transparency = 1
  514. o29.Position = Vector3.new(11.3622284, 10.4700508, -37.9598465)
  515. o29.Rotation = Vector3.new(2.94140364e-007, 4.69876051, -1.38806033e-009)
  516. o29.Anchored = true
  517. o29.Size = Vector3.new(3.80000329, 5, 0.200000003)
  518. o29.CFrame = CFrame.new(11.3622284, 10.4700508, -37.9598465, 0.996639252, 2.41448059e-011, 0.0819169432, 3.96312316e-010, 1, -5.11646459e-009, -0.0819169581, 5.13173326e-009, 0.996639192)
  519. o29.BottomSurface = Enum.SurfaceType.Smooth
  520. o29.TopSurface = Enum.SurfaceType.Smooth
  521. o29.Position = Vector3.new(11.3622284, 10.4700508, -37.9598465)
  522. o30.Parent = o29
  523. o30.Texture = "http://www.roblox.com/asset/?id=190383101"
  524. o31.Parent = o28
  525. o31.Material = Enum.Material.Pebble
  526. o31.BrickColor = BrickColor.new("Really black")
  527. o31.Position = Vector3.new(-2.82997894, 7.022717, -55.6835175)
  528. o31.Rotation = Vector3.new(0.350073487, -9.84179783, -90.5398178)
  529. o31.Anchored = true
  530. o31.Size = Vector3.new(13.8800001, 0.200000003, 0.200000003)
  531. o31.CFrame = CFrame.new(-2.82997894, 7.022717, -55.6835175, -0.00928289536, 0.985239744, -0.170928314, -0.999927104, -0.0104656806, -0.00601998018, -0.00772000477, 0.170859978, 0.985265076)
  532. o31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  533. o31.Position = Vector3.new(-2.82997894, 7.022717, -55.6835175)
  534. o32.Parent = o28
  535. o32.Material = Enum.Material.Pebble
  536. o32.BrickColor = BrickColor.new("Really black")
  537. o32.Position = Vector3.new(-2.82998657, 7.02271795, -47.6234398)
  538. o32.Rotation = Vector3.new(0.350073487, -9.84179783, -90.5398178)
  539. o32.Anchored = true
  540. o32.Size = Vector3.new(13.8800001, 0.200000003, 0.200000003)
  541. o32.CFrame = CFrame.new(-2.82998657, 7.02271795, -47.6234398, -0.00928289536, 0.985239744, -0.170928314, -0.999927104, -0.0104656806, -0.00601998018, -0.00772000477, 0.170859978, 0.985265076)
  542. o32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  543. o32.Position = Vector3.new(-2.82998657, 7.02271795, -47.6234398)
  544. o33.Parent = o28
  545. o33.Material = Enum.Material.Pebble
  546. o33.BrickColor = BrickColor.new("Really black")
  547. o33.Position = Vector3.new(14.6900139, 7.02271748, -47.6234474)
  548. o33.Rotation = Vector3.new(0.350073487, -9.84179783, -90.5398178)
  549. o33.Anchored = true
  550. o33.Size = Vector3.new(13.8800001, 0.200000003, 0.200000003)
  551. o33.CFrame = CFrame.new(14.6900139, 7.02271748, -47.6234474, -0.00928289536, 0.985239744, -0.170928314, -0.999927104, -0.0104656806, -0.00601998018, -0.00772000477, 0.170859978, 0.985265076)
  552. o33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  553. o33.Position = Vector3.new(14.6900139, 7.02271748, -47.6234474)
  554. o34.Parent = o28
  555. o34.Material = Enum.Material.Pebble
  556. o34.Position = Vector3.new(5.95950222, 13.9504375, -49.4816513)
  557. o34.Rotation = Vector3.new(0.00421806565, -89.6189651, -89.4572983)
  558. o34.Anchored = true
  559. o34.Size = Vector3.new(0.200000003, 23.8299999, 17.489996)
  560. o34.CFrame = CFrame.new(5.95950222, 13.9504375, -49.4816513, 6.30005452e-005, 0.00665106857, -0.999977887, -0.999955893, 0.00939820614, -4.89667855e-007, 0.00939799473, 0.999933779, 0.0066513666)
  561. o34.Position = Vector3.new(5.95950222, 13.9504375, -49.4816513)
  562. o35.Parent = o28
  563. o35.Material = Enum.Material.Pebble
  564. o35.Position = Vector3.new(-2.7399292, 6.98500776, -58.5700607)
  565. o35.Rotation = Vector3.new(2.93601772e-007, -1.14725799e-006, -4.59220617e-009)
  566. o35.Anchored = true
  567. o35.Size = Vector3.new(0.200000003, 13.9699993, 5.65999985)
  568. o35.CFrame = CFrame.new(-2.7399292, 6.98500776, -58.5700607, 1, 8.01491165e-011, -2.00234282e-008, -8.01492206e-011, 1, -5.12431741e-009, 2.00234354e-008, 5.12431741e-009, 1)
  569. o35.Position = Vector3.new(-2.7399292, 6.98500776, -58.5700607)
  570. o36.Parent = o28
  571. o36.Material = Enum.Material.Pebble
  572. o36.Position = Vector3.new(5.82673645, 6.98500776, -61.3121681)
  573. o36.Rotation = Vector3.new(-6.11822486e-007, -89.5859833, -8.62174318e-007)
  574. o36.Anchored = true
  575. o36.Size = Vector3.new(0.200000003, 13.9699993, 17.2799969)
  576. o36.CFrame = CFrame.new(5.82673645, 6.98500776, -61.3121681, 0.00723706186, 1.08901714e-010, -0.999973893, -4.36974501e-009, 1, 7.7279641e-011, 0.999973893, 4.36907044e-009, 0.00723706186)
  577. o36.Position = Vector3.new(5.82673645, 6.98500776, -61.3121681)
  578. o37.Parent = o28
  579. o37.Material = Enum.Material.Pebble
  580. o37.Position = Vector3.new(14.5300598, 7.11000919, -58.5700645)
  581. o37.Rotation = Vector3.new(2.93601772e-007, -1.14725799e-006, -4.59220617e-009)
  582. o37.Anchored = true
  583. o37.Size = Vector3.new(0.200000003, 13.7199993, 5.65999985)
  584. o37.CFrame = CFrame.new(14.5300598, 7.11000919, -58.5700645, 1, 8.01491165e-011, -2.00234282e-008, -8.01492206e-011, 1, -5.12431741e-009, 2.00234354e-008, 5.12431741e-009, 1)
  585. o37.Position = Vector3.new(14.5300598, 7.11000919, -58.5700645)
  586. o38.Parent = o28
  587. o38.Material = Enum.Material.Pebble
  588. o38.BrickColor = BrickColor.new("Really black")
  589. o38.Position = Vector3.new(14.6900177, 7.02271795, -55.7235374)
  590. o38.Rotation = Vector3.new(0.350073487, -9.84179783, -90.5398178)
  591. o38.Anchored = true
  592. o38.Size = Vector3.new(13.8800001, 0.200000003, 0.200000003)
  593. o38.CFrame = CFrame.new(14.6900177, 7.02271795, -55.7235374, -0.00928289536, 0.985239744, -0.170928314, -0.999927104, -0.0104656806, -0.00601998018, -0.00772000477, 0.170859978, 0.985265076)
  594. o38.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  595. o38.Position = Vector3.new(14.6900177, 7.02271795, -55.7235374)
  596. o39.Parent = o28
  597. o39.Material = Enum.Material.Pebble
  598. o39.Position = Vector3.new(5.91171646, 7.11000824, -37.6925468)
  599. o39.Rotation = Vector3.new(-6.11822486e-007, -89.5859833, -8.62174318e-007)
  600. o39.Anchored = true
  601. o39.Size = Vector3.new(0.200000003, 13.7199993, 17.829998)
  602. o39.CFrame = CFrame.new(5.91171646, 7.11000824, -37.6925468, 0.00723706186, 1.08901714e-010, -0.999973893, -4.36974501e-009, 1, 7.7279641e-011, 0.999973893, 4.36907044e-009, 0.00723706186)
  603. o39.Position = Vector3.new(5.91171646, 7.11000824, -37.6925468)
  604. o40.Parent = o28
  605. o41.Parent = o40
  606. o42.Parent = o41
  607. o42.BrickColor = BrickColor.new("Mid gray")
  608. o42.Transparency = 1
  609. o42.Position = Vector3.new(6.22978592, 0.850025177, -58.5996552)
  610. o42.Rotation = Vector3.new(179.999451, 0.00624624453, 179.999008)
  611. o42.Size = Vector3.new(3, 1.20000005, 3)
  612. o42.CFrame = CFrame.new(6.22978592, 0.850025177, -58.5996552, -1, -1.72373329e-005, 0.000109017528, -1.7238377e-005, 1, -9.56907115e-006, -0.000109017361, -9.57095017e-006, -1)
  613. o42.BackSurface = Enum.SurfaceType.Weld
  614. o42.BottomSurface = Enum.SurfaceType.Weld
  615. o42.FrontSurface = Enum.SurfaceType.Weld
  616. o42.LeftSurface = Enum.SurfaceType.Weld
  617. o42.RightSurface = Enum.SurfaceType.Weld
  618. o42.TopSurface = Enum.SurfaceType.Weld
  619. o42.Color = Color3.new(0.803922, 0.803922, 0.803922)
  620. o42.Position = Vector3.new(6.22978592, 0.850025177, -58.5996552)
  621. o43.Parent = o42
  622. o44.Parent = o41
  623. o44.BrickColor = BrickColor.new("Really black")
  624. o44.Position = Vector3.new(6.23013306, 1.85044479, -58.5997734)
  625. o44.Rotation = Vector3.new(179.999451, 0.00624963269, 179.999008)
  626. o44.Anchored = true
  627. o44.Size = Vector3.new(2, 0.800000012, 3)
  628. o44.CFrame = CFrame.new(6.23013306, 1.85044479, -58.5997734, -1, -1.72373402e-005, 0.000109076667, -1.72383843e-005, 1, -9.56907024e-006, -0.0001090765, -9.57095017e-006, -1)
  629. o44.BottomSurface = Enum.SurfaceType.Smooth
  630. o44.TopSurface = Enum.SurfaceType.Smooth
  631. o44.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  632. o44.Position = Vector3.new(6.23013306, 1.85044479, -58.5997734)
  633. o45.Parent = o44
  634. o45.MeshId = "http://www.roblox.com/asset/?id=96065544"
  635. o45.Scale = Vector3.new(1.5, 1.5, 1.5)
  636. o45.TextureId = "http://www.roblox.com/asset/?id=96065600"
  637. o45.MeshType = Enum.MeshType.FileMesh
  638. o46.Parent = o28
  639. o46.Material = Enum.Material.Pebble
  640. o46.Position = Vector3.new(14.7500648, 2.42002487, -42.5848885)
  641. o46.Rotation = Vector3.new(3.46961542e-007, -1.20061895e-006, -4.59220484e-009)
  642. o46.Anchored = true
  643. o46.Size = Vector3.new(0.200000003, 4.8399992, 9.84999943)
  644. o46.CFrame = CFrame.new(14.7500648, 2.42002487, -42.5848885, 1, 8.01490957e-011, -2.09547526e-008, -8.01492206e-011, 1, -6.05562134e-009, 2.09547579e-008, 6.05562134e-009, 1)
  645. o46.Position = Vector3.new(14.7500648, 2.42002487, -42.5848885)
  646. o47.Parent = o28
  647. o47.Material = Enum.Material.Pebble
  648. o47.Position = Vector3.new(14.7500639, 9.32700634, -38.9898949)
  649. o47.Rotation = Vector3.new(-90, 4.59317917e-009, -1.20061884e-006)
  650. o47.Anchored = true
  651. o47.Size = Vector3.new(0.200000003, 2.16999936, 9.10999966)
  652. o47.CFrame = CFrame.new(14.7500639, 9.32700634, -38.9898949, 1, 2.09547508e-008, 8.0166096e-011, -8.01312419e-011, 0, 1.00000024, 2.0954765e-008, -1.00000024, 0)
  653. o47.Position = Vector3.new(14.7500639, 9.32700634, -38.9898949)
  654. o48.Parent = o28
  655. o48.Material = Enum.Material.Pebble
  656. o48.Position = Vector3.new(14.7500639, 9.39200974, -45.8398857)
  657. o48.Rotation = Vector3.new(-90, 4.59317917e-009, -1.20061884e-006)
  658. o48.Anchored = true
  659. o48.Size = Vector3.new(0.200000003, 3.40999937, 9.10999966)
  660. o48.CFrame = CFrame.new(14.7500639, 9.39200974, -45.8398857, 1, 2.09547508e-008, 8.0166096e-011, -8.01312419e-011, 0, 1.00000024, 2.0954765e-008, -1.00000024, 0)
  661. o48.Position = Vector3.new(14.7500639, 9.39200974, -45.8398857)
  662. o49.Parent = o28
  663. o49.Material = Enum.Material.Pebble
  664. o49.Position = Vector3.new(-2.76993084, 2.28700924, -26.6498756)
  665. o49.Rotation = Vector3.new(-180, 0, -180)
  666. o49.Anchored = true
  667. o49.Size = Vector3.new(0.200000003, 4.72999907, 41.6899986)
  668. o49.CFrame = CFrame.new(-2.76993084, 2.28700924, -26.6498756, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  669. o49.Position = Vector3.new(-2.76993084, 2.28700924, -26.6498756)
  670. o50.Parent = o28
  671. o50.Material = Enum.Material.Pebble
  672. o50.Position = Vector3.new(-2.73993111, 11.404006, -42.6648788)
  673. o50.Rotation = Vector3.new(-180, 0, -180)
  674. o50.Anchored = true
  675. o50.Size = Vector3.new(0.200000003, 4.8399992, 9.57999992)
  676. o50.CFrame = CFrame.new(-2.73993111, 11.404006, -42.6648788, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  677. o50.Position = Vector3.new(-2.73993111, 11.404006, -42.6648788)
  678. o51.Parent = o28
  679. o51.Material = Enum.Material.Pebble
  680. o51.Position = Vector3.new(-2.77993488, 8.90899944, -46.4098701)
  681. o51.Rotation = Vector3.new(-90, 0, -180)
  682. o51.Anchored = true
  683. o51.Size = Vector3.new(0.200000003, 2.19999933, 9.78999996)
  684. o51.CFrame = CFrame.new(-2.77993488, 8.90899944, -46.4098701, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  685. o51.Position = Vector3.new(-2.77993488, 8.90899944, -46.4098701)
  686. o52.Parent = o28
  687. o52.Material = Enum.Material.Pebble
  688. o52.Position = Vector3.new(-2.76993299, -5.74099684, -23.5248833)
  689. o52.Rotation = Vector3.new(-90, 0, -180)
  690. o52.Anchored = true
  691. o52.Size = Vector3.new(0.200000003, 35.4500008, 39.2199974)
  692. o52.CFrame = CFrame.new(-2.76993299, -5.74099684, -23.5248833, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  693. o52.Position = Vector3.new(-2.76993299, -5.74099684, -23.5248833)
  694. o53.Parent = o28
  695. o53.Material = Enum.Material.Pebble
  696. o53.Position = Vector3.new(14.7500639, 11.4820137, -42.5848885)
  697. o53.Rotation = Vector3.new(3.46961542e-007, -1.20061895e-006, -4.59220484e-009)
  698. o53.Anchored = true
  699. o53.Size = Vector3.new(0.200000003, 4.8399992, 9.84999943)
  700. o53.CFrame = CFrame.new(14.7500639, 11.4820137, -42.5848885, 1, 8.01490957e-011, -2.09547526e-008, -8.01492206e-011, 1, -6.05562134e-009, 2.09547579e-008, 6.05562134e-009, 1)
  701. o53.Position = Vector3.new(14.7500639, 11.4820137, -42.5848885)
  702. o54.Parent = o28
  703. o54.BrickColor = BrickColor.new("Institutional white")
  704. o54.Transparency = 0.80000001192093
  705. o54.Position = Vector3.new(14.7600021, 6.93936491, -42.085022)
  706. o54.Size = Vector3.new(0.200000003, 4.19000006, 4.05000019)
  707. o54.CFrame = CFrame.new(14.7600021, 6.93936491, -42.085022, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  708. o54.Color = Color3.new(0.972549, 0.972549, 0.972549)
  709. o54.Position = Vector3.new(14.7600021, 6.93936491, -42.085022)
  710. o55.Parent = o28
  711. o55.BrickColor = BrickColor.new("Institutional white")
  712. o55.Transparency = 0.80000001192093
  713. o55.Position = Vector3.new(-2.75999594, 6.82499027, -43.2750092)
  714. o55.Size = Vector3.new(0.200000003, 4.30000019, 4.05000019)
  715. o55.CFrame = CFrame.new(-2.75999594, 6.82499027, -43.2750092, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  716. o55.Color = Color3.new(0.972549, 0.972549, 0.972549)
  717. o55.Position = Vector3.new(-2.75999594, 6.82499027, -43.2750092)
  718. o56.Parent = o1
  719. o57.Name = "DoorButton"
  720. o57.Parent = o56
  721. o57.Material = Enum.Material.Neon
  722. o57.BrickColor = BrickColor.new("Lime green")
  723. o57.Position = Vector3.new(-2.62368011, 7.5315938, -57.0380898)
  724. o57.Rotation = Vector3.new(-2.68305325e-008, -90, 0)
  725. o57.Anchored = true
  726. o57.Size = Vector3.new(2.19999981, 2.20000005, 0.200000003)
  727. o57.CFrame = CFrame.new(-2.62368011, 7.5315938, -57.0380898, 1.84865414e-007, 7.4066149e-011, -1, 4.68281136e-010, 1, 7.40662393e-011, 1, -4.68281081e-010, 1.84865414e-007)
  728. o57.BottomSurface = Enum.SurfaceType.Smooth
  729. o57.TopSurface = Enum.SurfaceType.Smooth
  730. o57.Color = Color3.new(0, 1, 0)
  731. o57.Position = Vector3.new(-2.62368011, 7.5315938, -57.0380898)
  732. o58.Parent = o57
  733. o58.CanvasSize = Vector2.new(110, 85)
  734. o59.Name = "Text"
  735. o59.Parent = o58
  736. o59.Size = UDim2.new(1,0,1,0)
  737. o59.Text = "DOOR"
  738. o59.BackgroundColor3 = Color3.new(1, 1, 1)
  739. o59.BackgroundTransparency = 1
  740. o59.Font = Enum.Font.SourceSansBold
  741. o59.FontSize = Enum.FontSize.Size36
  742. o59.TextColor3 = Color3.new(0.545098, 0.545098, 0.545098)
  743. o60.Parent = o57
  744. o60.MaxActivationDistance = 10
  745. o61.Name = "Door"
  746. o61.Parent = o56
  747. o61.Material = Enum.Material.DiamondPlate
  748. o61.BrickColor = BrickColor.new("Black")
  749. o61.Position = Vector3.new(-3.22367096, 19.9570751, -51.4131165)
  750. o61.Rotation = Vector3.new(-2.68305325e-008, -90, 0)
  751. o61.Anchored = true
  752. o61.Size = Vector3.new(8.75, 13.750001, 1)
  753. o61.CFrame = CFrame.new(-3.22367096, 19.9570751, -51.4131165, 1.84865414e-007, 7.4066149e-011, -1, 4.68281136e-010, 1, 7.40662393e-011, 1, -4.68281081e-010, 1.84865414e-007)
  754. o61.BottomSurface = Enum.SurfaceType.Smooth
  755. o61.TopSurface = Enum.SurfaceType.Smooth
  756. o61.Color = Color3.new(0.105882, 0.164706, 0.207843)
  757. o61.Position = Vector3.new(-3.22367096, 19.9570751, -51.4131165)
  758. o62.Parent = o61
  759. o62.Texture = "http://www.roblox.com/asset/?id=178383193"
  760. o63.Parent = o61
  761. o63.Texture = "http://www.roblox.com/asset/?id=178383193"
  762. o63.Face = Enum.NormalId.Back
  763. o64.Parent = o61
  764. o64.SoundId = "http://www.roblox.com/asset/?id=179054361"
  765. o64.Volume = 1
  766. o65.Name = "LightButton"
  767. o65.Parent = o56
  768. o65.Material = Enum.Material.Neon
  769. o65.BrickColor = BrickColor.new("Institutional white")
  770. o65.Position = Vector3.new(-2.62368011, 5.13156414, -57.0380898)
  771. o65.Rotation = Vector3.new(-2.68305325e-008, -90, 0)
  772. o65.Anchored = true
  773. o65.Size = Vector3.new(2.19999981, 2.20000005, 0.200000003)
  774. o65.CFrame = CFrame.new(-2.62368011, 5.13156414, -57.0380898, 1.84865414e-007, 7.4066149e-011, -1, 4.68281136e-010, 1, 7.40662393e-011, 1, -4.68281081e-010, 1.84865414e-007)
  775. o65.BottomSurface = Enum.SurfaceType.Smooth
  776. o65.TopSurface = Enum.SurfaceType.Smooth
  777. o65.Color = Color3.new(0.972549, 0.972549, 0.972549)
  778. o65.Position = Vector3.new(-2.62368011, 5.13156414, -57.0380898)
  779. o66.Parent = o65
  780. o66.CanvasSize = Vector2.new(110, 85)
  781. o67.Name = "Text"
  782. o67.Parent = o66
  783. o67.Size = UDim2.new(1,0,1,0)
  784. o67.Text = "LIGHT"
  785. o67.BackgroundColor3 = Color3.new(1, 1, 1)
  786. o67.BackgroundTransparency = 1
  787. o67.Font = Enum.Font.SourceSansBold
  788. o67.FontSize = Enum.FontSize.Size36
  789. o67.TextColor3 = Color3.new(0, 0, 0)
  790. o68.Parent = o65
  791. o68.MaxActivationDistance = 10
  792. o69.Parent = o65
  793. o69.SoundId = "http://www.roblox.com/asset/?id=156286438"
  794. o69.Volume = 0
  795. o70.Name = "Light"
  796. o70.Parent = o56
  797. o70.Transparency = 1
  798. o70.Position = Vector3.new(-9.52362061, 2.33153915, -49.5381241)
  799. o70.Rotation = Vector3.new(-2.68305325e-008, -90, 0)
  800. o70.Anchored = true
  801. o70.CanCollide = false
  802. o70.Size = Vector3.new(4, 4, 4)
  803. o70.CFrame = CFrame.new(-9.52362061, 2.33153915, -49.5381241, 1.84865414e-007, 7.4066149e-011, -1, 4.68281136e-010, 1, 7.40662393e-011, 1, -4.68281081e-010, 1.84865414e-007)
  804. o70.BottomSurface = Enum.SurfaceType.Smooth
  805. o70.TopSurface = Enum.SurfaceType.Smooth
  806. o70.Position = Vector3.new(-9.52362061, 2.33153915, -49.5381241)
  807. o71.Parent = o70
  808. o71.Color = Color3.new(0, 0, 1)
  809. o71.Brightness = 0
  810. o71.Range = 15
  811. o72.Parent = o70
  812. o72.SoundId = "http://www.roblox.com/asset/?id=133116870"
  813. o72.Volume = 0
  814. o72.Looped = true
  815. o73.Parent = o70
  816. table.insert(cors,coroutine.create(function()
  817. wait()
  818. runDummyScript(function()
  819. wait()
  820. script.Parent.Sound:play()
  821. while true do
  822. wait(math.random(1,3))
  823. script.Parent.Sound:pause()
  824. script.Parent.PointLight.Enabled = false
  825. wait(0.1)
  826. script.Parent.Sound:play()
  827. script.Parent.PointLight.Enabled = true
  828. end
  829. end,o73)
  830. end))
  831. o74.Name = "Main"
  832. o74.Parent = o56
  833. table.insert(cors,coroutine.create(function()
  834. wait()
  835. runDummyScript(function()
  836. db = false
  837. door = false
  838. script.Parent.LightButton.ClickDetector.MouseClick:connect(function()
  839. script.Parent.LightButton.Sound:play()
  840. if script.Parent.Light.PointLight.Brightness == 1 then
  841. script.Parent.Light.PointLight.Brightness = 0
  842. script.Parent.Light.Sound.Volume = 0
  843. elseif script.Parent.Light.PointLight.Brightness == 0 then
  844. script.Parent.Light.PointLight.Brightness = 1
  845. script.Parent.Light.Sound.Volume = 0.5
  846. end
  847. end)
  848.  
  849. script.Parent.DoorButton.ClickDetector.MouseClick:connect(function()
  850. if not db then db = true
  851. if not door then door = true
  852. script.Parent.Door.Sound:play()
  853. for i=0,15 do
  854. script.Parent.Door.CFrame = script.Parent.Door.CFrame - Vector3.new(0,0.8,0)
  855. wait()
  856. end
  857. script.Parent.Door.CFrame = script.Parent.Door.CFrame - Vector3.new(0,0.2,0)
  858. db = false
  859. elseif door then door = false
  860. script.Parent.Door.Sound:play()
  861. for i=0,15 do
  862. script.Parent.Door.CFrame = script.Parent.Door.CFrame + Vector3.new(0,0.8,0)
  863. wait()
  864. end
  865. script.Parent.Door.CFrame = script.Parent.Door.CFrame + Vector3.new(0,0.2,0)
  866. db = false
  867. end
  868. end
  869. end)
  870. end,o74)
  871. end))
  872. o75.Parent = o1
  873. o76.Parent = o75
  874. o76.Position = Vector3.new(-10.2750006, 7, -61.3500023)
  875. o76.Anchored = true
  876. o76.Size = Vector3.new(15, 14, 0.25)
  877. o76.CFrame = CFrame.new(-10.2750006, 7, -61.3500023, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  878. o76.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  879. o76.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  880. o76.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  881. o76.Position = Vector3.new(-10.2750006, 7, -61.3500023)
  882. o77.Parent = o75
  883. o77.Position = Vector3.new(22, 7, -61.375)
  884. o77.Anchored = true
  885. o77.Size = Vector3.new(15, 14, 0.25)
  886. o77.CFrame = CFrame.new(22, 7, -61.375, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  887. o77.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  888. o77.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  889. o77.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  890. o77.Position = Vector3.new(22, 7, -61.375)
  891. o78.Parent = o75
  892. o78.Position = Vector3.new(29.625, 7, -33.7499924)
  893. o78.Rotation = Vector3.new(0, 90, 0)
  894. o78.Anchored = true
  895. o78.Size = Vector3.new(55.5, 14, 0.25)
  896. o78.CFrame = CFrame.new(29.625, 7, -33.7499924, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  897. o78.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  898. o78.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  899. o78.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  900. o78.Position = Vector3.new(29.625, 7, -33.7499924)
  901. o79.Parent = o75
  902. o79.Position = Vector3.new(-17.875, 7, -33.4999962)
  903. o79.Rotation = Vector3.new(0, 90, 0)
  904. o79.Anchored = true
  905. o79.Size = Vector3.new(55.5, 14, 0.25)
  906. o79.CFrame = CFrame.new(-17.875, 7, -33.4999962, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  907. o79.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  908. o79.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  909. o79.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  910. o79.Position = Vector3.new(-17.875, 7, -33.4999962)
  911. o80.Parent = o75
  912. o80.Position = Vector3.new(-2.67499924, 6.06500006, -21.7349949)
  913. o80.Rotation = Vector3.new(0, 90, 0)
  914. o80.Anchored = true
  915. o80.Size = Vector3.new(31.9700012, 15.8699999, 0.25)
  916. o80.CFrame = CFrame.new(-2.67499924, 6.06500006, -21.7349949, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  917. o80.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  918. o80.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  919. o80.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  920. o80.Position = Vector3.new(-2.67499924, 6.06500006, -21.7349949)
  921. o81.Parent = o75
  922. o81.Position = Vector3.new(14.6000385, 3.78497887, -21.9349957)
  923. o81.Rotation = Vector3.new(0, 90, 0)
  924. o81.Anchored = true
  925. o81.Size = Vector3.new(31.7700005, 21.0799999, 0.25)
  926. o81.CFrame = CFrame.new(14.6000385, 3.78497887, -21.9349957, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  927. o81.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  928. o81.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  929. o81.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  930. o81.Position = Vector3.new(14.6000385, 3.78497887, -21.9349957)
  931. o82.Parent = o75
  932. o82.Position = Vector3.new(22.1499977, 14.0999985, -33.7249947)
  933. o82.Rotation = Vector3.new(-90, -0.000170752915, 90)
  934. o82.Anchored = true
  935. o82.Size = Vector3.new(55.4500008, 15.1500006, 0.449999988)
  936. o82.CFrame = CFrame.new(22.1499977, 14.0999985, -33.7249947, 0, -1, -2.98020063e-006, 0, -2.98020086e-006, 1, -1, 0, 0)
  937. o82.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  938. o82.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  939. o82.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  940. o82.Position = Vector3.new(22.1499977, 14.0999985, -33.7249947)
  941. o83.Name = "Darkness"
  942. o83.Parent = o75
  943. o83.Material = Enum.Material.Neon
  944. o83.BrickColor = BrickColor.new("Really black")
  945. o83.Transparency = 0.80000001192093
  946. o83.Position = Vector3.new(22.2750168, 6.95703411, -33.7249947)
  947. o83.Rotation = Vector3.new(-90, -0.000170752915, 90)
  948. o83.Anchored = true
  949. o83.CanCollide = false
  950. o83.Locked = true
  951. o83.Size = Vector3.new(55.4500008, 14.9000006, 13.75)
  952. o83.CFrame = CFrame.new(22.2750168, 6.95703411, -33.7249947, 0, -1, -2.98020063e-006, 0, -2.98020086e-006, 1, -1, 0, 0)
  953. o83.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  954. o83.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  955. o83.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  956. o83.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  957. o83.Position = Vector3.new(22.2750168, 6.95703411, -33.7249947)
  958. o84.Name = "Darkness"
  959. o84.Parent = o75
  960. o84.Material = Enum.Material.Neon
  961. o84.BrickColor = BrickColor.new("Really black")
  962. o84.Transparency = 0.80000001192093
  963. o84.Position = Vector3.new(-10.3249836, 6.95702696, -33.4749947)
  964. o84.Rotation = Vector3.new(-90, -0.000170752915, 90)
  965. o84.Anchored = true
  966. o84.CanCollide = false
  967. o84.Locked = true
  968. o84.Size = Vector3.new(55.4500008, 14.9000006, 13.75)
  969. o84.CFrame = CFrame.new(-10.3249836, 6.95702696, -33.4749947, 0, -1, -2.98020063e-006, 0, -2.98020086e-006, 1, -1, 0, 0)
  970. o84.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  971. o84.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  972. o84.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  973. o84.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  974. o84.Position = Vector3.new(-10.3249836, 6.95702696, -33.4749947)
  975. o85.Parent = o75
  976. o85.Position = Vector3.new(-10.3249989, 14.2249775, -33.5250015)
  977. o85.Rotation = Vector3.new(-90, -0.000170752915, 90)
  978. o85.Anchored = true
  979. o85.Size = Vector3.new(55.4500008, 15.6500006, 0.449999988)
  980. o85.CFrame = CFrame.new(-10.3249989, 14.2249775, -33.5250015, 0, -1, -2.98020063e-006, 0, -2.98020086e-006, 1, -1, 0, 0)
  981. o85.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  982. o85.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  983. o85.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  984. o85.Position = Vector3.new(-10.3249989, 14.2249775, -33.5250015)
  985. o86.Parent = o1
  986. o87.Parent = o86
  987. o87.Material = Enum.Material.Metal
  988. o87.Transparency = 1
  989. o87.Position = Vector3.new(5.70948696, 12.3423119, -48.8199844)
  990. o87.Rotation = Vector3.new(90.0114517, -90, 0)
  991. o87.Anchored = true
  992. o87.FormFactor = Enum.FormFactor.Symmetric
  993. o87.Shape = Enum.PartType.Cylinder
  994. o87.Size = Vector3.new(1, 1, 2)
  995. o87.CFrame = CFrame.new(5.70948696, 12.3423119, -48.8199844, 0.000197927409, 0.000163470788, -1.00000727, -1, -0.000199781673, -0.000197962057, -0.00019981424, 1.00000048, 0.000159682706)
  996. o87.BottomSurface = Enum.SurfaceType.Smooth
  997. o87.TopSurface = Enum.SurfaceType.Smooth
  998. o87.Position = Vector3.new(5.70948696, 12.3423119, -48.8199844)
  999. o88.Name = "light source"
  1000. o88.Parent = o86
  1001. o88.Material = Enum.Material.Ice
  1002. o88.BrickColor = BrickColor.new("New Yeller")
  1003. o88.Transparency = 100
  1004. o88.Position = Vector3.new(5.7097621, 10.8423176, -48.820076)
  1005. o88.Rotation = Vector3.new(90.0000687, 90, 0)
  1006. o88.Anchored = true
  1007. o88.FormFactor = Enum.FormFactor.Symmetric
  1008. o88.Shape = Enum.PartType.Cylinder
  1009. o88.Size = Vector3.new(2, 4, 5)
  1010. o88.CFrame = CFrame.new(5.7097621, 10.8423176, -48.820076, -0.00019826644, 0.00016810582, 1, 1, -1.07624783e-006, 0.000198266629, 1.10957762e-006, 1, -0.000168105602)
  1011. o88.BottomSurface = Enum.SurfaceType.Smooth
  1012. o88.TopSurface = Enum.SurfaceType.Smooth
  1013. o88.Color = Color3.new(1, 1, 0)
  1014. o88.Position = Vector3.new(5.7097621, 10.8423176, -48.820076)
  1015. o89.Parent = o88
  1016. o89.Color = Color3.new(1, 0.980392, 0.345098)
  1017. o89.Brightness = 0.5
  1018. o89.Range = 20
  1019. o90.Parent = o1
  1020. o91.Parent = o90
  1021. o91.BrickColor = BrickColor.new("Dark stone grey")
  1022. o91.Position = Vector3.new(5.69999981, 12.8400145, -48.8099976)
  1023. o91.Rotation = Vector3.new(-180, 0, -0)
  1024. o91.Anchored = true
  1025. o91.FormFactor = Enum.FormFactor.Plate
  1026. o91.Size = Vector3.new(1, 1.20000005, 1)
  1027. o91.CFrame = CFrame.new(5.69999981, 12.8400145, -48.8099976, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  1028. o91.BottomSurface = Enum.SurfaceType.Smooth
  1029. o91.TopSurface = Enum.SurfaceType.Smooth
  1030. o91.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1031. o91.Position = Vector3.new(5.69999981, 12.8400145, -48.8099976)
  1032. o92.Parent = o91
  1033. o92.Scale = Vector3.new(0.5, 1, 0.5)
  1034. o93.Parent = o90
  1035. o93.BrickColor = BrickColor.new("Dark stone grey")
  1036. o93.Position = Vector3.new(5.69999981, 13.6400156, -48.8099976)
  1037. o93.Rotation = Vector3.new(-180, 0, -0)
  1038. o93.Anchored = true
  1039. o93.FormFactor = Enum.FormFactor.Plate
  1040. o93.Size = Vector3.new(1, 0.400000006, 1)
  1041. o93.CFrame = CFrame.new(5.69999981, 13.6400156, -48.8099976, 1, 0, 0, 0, -1, 0, 0, 0, -1)
  1042. o93.BottomSurface = Enum.SurfaceType.Smooth
  1043. o93.TopSurface = Enum.SurfaceType.Smooth
  1044. o93.Color = Color3.new(0.388235, 0.372549, 0.384314)
  1045. o93.Position = Vector3.new(5.69999981, 13.6400156, -48.8099976)
  1046. o94.Parent = o93
  1047. o95.Name = "Cone"
  1048. o95.Parent = o90
  1049. o95.Transparency = 0.20000000298023
  1050. o95.Position = Vector3.new(5.69999981, 11.6400118, -48.8099976)
  1051. o95.Rotation = Vector3.new(-0, -90, 0)
  1052. o95.Anchored = true
  1053. o95.Size = Vector3.new(1, 1.20000005, 1)
  1054. o95.CFrame = CFrame.new(5.69999981, 11.6400118, -48.8099976, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008)
  1055. o95.BottomSurface = Enum.SurfaceType.Smooth
  1056. o95.TopSurface = Enum.SurfaceType.Smooth
  1057. o95.Position = Vector3.new(5.69999981, 11.6400118, -48.8099976)
  1058. o96.Parent = o95
  1059. o96.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1060. o96.Scale = Vector3.new(2, 2, 2)
  1061. o96.MeshType = Enum.MeshType.FileMesh
  1062. o97.Parent = o1
  1063. o98.Parent = o97
  1064. o98.PrimaryPart = o101
  1065. o99.Name = "Smooth Block Model"
  1066. o99.Parent = o98
  1067. o99.BrickColor = BrickColor.new("Grey")
  1068. o99.Position = Vector3.new(12.7599974, 4.66243362, -41.5778618)
  1069. o99.Rotation = Vector3.new(-0, 45.0000458, -0)
  1070. o99.Size = Vector3.new(0.392857164, 1.88571537, 1.57142949)
  1071. o99.CFrame = CFrame.new(12.7599974, 4.66243362, -41.5778618, 0.707107365, 0, 0.707107365, 0, 1, 0, -0.707107365, 0, 0.707107365)
  1072. o99.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1073. o99.Position = Vector3.new(12.7599974, 4.66243362, -41.5778618)
  1074. o100.Name = "Smooth Block Model"
  1075. o100.Parent = o98
  1076. o100.BrickColor = BrickColor.new("Grey")
  1077. o100.Position = Vector3.new(12.4822111, 4.66243362, -40.4666901)
  1078. o100.Rotation = Vector3.new(-0, -45.0000458, -0)
  1079. o100.Anchored = true
  1080. o100.FormFactor = Enum.FormFactor.Plate
  1081. o100.Size = Vector3.new(0.392857164, 1.88571537, 1.57142949)
  1082. o100.CFrame = CFrame.new(12.4822111, 4.66243362, -40.4666901, 0.707107365, 0, -0.707107365, 0, 1, 0, 0.707107365, 0, 0.707107365)
  1083. o100.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1084. o100.Position = Vector3.new(12.4822111, 4.66243362, -40.4666901)
  1085. o101.Name = "Smooth Block Model"
  1086. o101.Parent = o98
  1087. o101.BrickColor = BrickColor.new("Grey")
  1088. o101.Position = Vector3.new(12.0655212, 5.68386459, -40.8833809)
  1089. o101.Rotation = Vector3.new(-0, -45.0000458, -0)
  1090. o101.Anchored = true
  1091. o101.CanCollide = false
  1092. o101.FormFactor = Enum.FormFactor.Plate
  1093. o101.Size = Vector3.new(1.57142866, 0.200000003, 2.35714412)
  1094. o101.CFrame = CFrame.new(12.0655212, 5.68386459, -40.8833809, 0.707107365, 0, -0.707107365, 0, 1, 0, 0.707107365, 0, 0.707107365)
  1095. o101.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1096. o101.Position = Vector3.new(12.0655212, 5.68386459, -40.8833809)
  1097. o102.Parent = o101
  1098. o102.Scale = Vector3.new(1, 0.785714686, 1)
  1099. o103.Name = "Smooth Block Model"
  1100. o103.Parent = o98
  1101. o103.BrickColor = BrickColor.new("Grey")
  1102. o103.Position = Vector3.new(12.0655212, 3.64100266, -40.8833809)
  1103. o103.Rotation = Vector3.new(-0, -45.0000458, -0)
  1104. o103.Anchored = true
  1105. o103.CanCollide = false
  1106. o103.FormFactor = Enum.FormFactor.Plate
  1107. o103.Size = Vector3.new(1.57142866, 0.200000003, 2.35714412)
  1108. o103.CFrame = CFrame.new(12.0655212, 3.64100266, -40.8833809, 0.707107365, 0, -0.707107365, 0, 1, 0, 0.707107365, 0, 0.707107365)
  1109. o103.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1110. o103.Position = Vector3.new(12.0655212, 3.64100266, -40.8833809)
  1111. o104.Parent = o103
  1112. o104.Scale = Vector3.new(1, 0.785714686, 1)
  1113. o105.Name = "Smooth Block Model"
  1114. o105.Parent = o98
  1115. o105.BrickColor = BrickColor.new("Black")
  1116. o105.Position = Vector3.new(11.9761209, 4.66243362, -41.0717735)
  1117. o105.Rotation = Vector3.new(-0, -45.0000458, -0)
  1118. o105.Size = Vector3.new(1.17857146, 1.88571537, 1.93142951)
  1119. o105.CFrame = CFrame.new(11.9761209, 4.66243362, -41.0717735, 0.707107365, 0, -0.707107365, 0, 1, 0, 0.707107365, 0, 0.707107365)
  1120. o105.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1121. o105.Position = Vector3.new(11.9761209, 4.66243362, -41.0717735)
  1122. o106.Name = "Smooth Block Model"
  1123. o106.Parent = o98
  1124. o106.BrickColor = BrickColor.new("Grey")
  1125. o106.Position = Vector3.new(11.3710394, 4.66243362, -40.1889)
  1126. o106.Rotation = Vector3.new(-0, 45.0000458, -0)
  1127. o106.Size = Vector3.new(0.392857164, 1.88571537, 1.57142949)
  1128. o106.CFrame = CFrame.new(11.3710394, 4.66243362, -40.1889, 0.707107365, 0, 0.707107365, 0, 1, 0, -0.707107365, 0, 0.707107365)
  1129. o106.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1130. o106.Position = Vector3.new(11.3710394, 4.66243362, -40.1889)
  1131. o107.Parent = o97
  1132. o107.PrimaryPart = o110
  1133. o108.Name = "Smooth Block Model"
  1134. o108.Parent = o107
  1135. o108.BrickColor = BrickColor.new("Grey")
  1136. o108.Position = Vector3.new(11.0932474, 4.66243362, -39.9111061)
  1137. o108.Rotation = Vector3.new(-0, 45.0000458, -0)
  1138. o108.Size = Vector3.new(0.392857164, 1.88571537, 1.57142949)
  1139. o108.CFrame = CFrame.new(11.0932474, 4.66243362, -39.9111061, 0.707107365, 0, 0.707107365, 0, 1, 0, -0.707107365, 0, 0.707107365)
  1140. o108.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1141. o108.Position = Vector3.new(11.0932474, 4.66243362, -39.9111061)
  1142. o109.Name = "Smooth Block Model"
  1143. o109.Parent = o107
  1144. o109.BrickColor = BrickColor.new("Grey")
  1145. o109.Position = Vector3.new(10.8154573, 4.66243362, -38.7999344)
  1146. o109.Rotation = Vector3.new(-0, -45.0000458, -0)
  1147. o109.Anchored = true
  1148. o109.FormFactor = Enum.FormFactor.Plate
  1149. o109.Size = Vector3.new(0.392857164, 1.88571537, 1.57142949)
  1150. o109.CFrame = CFrame.new(10.8154573, 4.66243362, -38.7999344, 0.707107365, 0, -0.707107365, 0, 1, 0, 0.707107365, 0, 0.707107365)
  1151. o109.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1152. o109.Position = Vector3.new(10.8154573, 4.66243362, -38.7999344)
  1153. o110.Name = "Smooth Block Model"
  1154. o110.Parent = o107
  1155. o110.BrickColor = BrickColor.new("Grey")
  1156. o110.Position = Vector3.new(10.3987646, 5.68386459, -39.2166252)
  1157. o110.Rotation = Vector3.new(-0, -45.0000458, -0)
  1158. o110.Anchored = true
  1159. o110.CanCollide = false
  1160. o110.FormFactor = Enum.FormFactor.Plate
  1161. o110.Size = Vector3.new(1.57142866, 0.200000003, 2.35714412)
  1162. o110.CFrame = CFrame.new(10.3987646, 5.68386459, -39.2166252, 0.707107365, 0, -0.707107365, 0, 1, 0, 0.707107365, 0, 0.707107365)
  1163. o110.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1164. o110.Position = Vector3.new(10.3987646, 5.68386459, -39.2166252)
  1165. o111.Parent = o110
  1166. o111.Scale = Vector3.new(1, 0.785714686, 1)
  1167. o112.Name = "Smooth Block Model"
  1168. o112.Parent = o107
  1169. o112.BrickColor = BrickColor.new("Grey")
  1170. o112.Position = Vector3.new(10.3987646, 3.64100266, -39.2166252)
  1171. o112.Rotation = Vector3.new(-0, -45.0000458, -0)
  1172. o112.Anchored = true
  1173. o112.CanCollide = false
  1174. o112.FormFactor = Enum.FormFactor.Plate
  1175. o112.Size = Vector3.new(1.57142866, 0.200000003, 2.35714412)
  1176. o112.CFrame = CFrame.new(10.3987646, 3.64100266, -39.2166252, 0.707107365, 0, -0.707107365, 0, 1, 0, 0.707107365, 0, 0.707107365)
  1177. o112.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1178. o112.Position = Vector3.new(10.3987646, 3.64100266, -39.2166252)
  1179. o113.Parent = o112
  1180. o113.Scale = Vector3.new(1, 0.785714686, 1)
  1181. o114.Name = "Smooth Block Model"
  1182. o114.Parent = o107
  1183. o114.BrickColor = BrickColor.new("Black")
  1184. o114.Position = Vector3.new(10.3730049, 4.66243362, -39.4686584)
  1185. o114.Rotation = Vector3.new(-0, -45.0000458, -0)
  1186. o114.Size = Vector3.new(1.17857146, 1.88571537, 1.89142954)
  1187. o114.CFrame = CFrame.new(10.3730049, 4.66243362, -39.4686584, 0.707107365, 0, -0.707107365, 0, 1, 0, 0.707107365, 0, 0.707107365)
  1188. o114.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1189. o114.Position = Vector3.new(10.3730049, 4.66243362, -39.4686584)
  1190. o115.Name = "Smooth Block Model"
  1191. o115.Parent = o107
  1192. o115.BrickColor = BrickColor.new("Grey")
  1193. o115.Position = Vector3.new(9.70428181, 4.66243362, -38.5221481)
  1194. o115.Rotation = Vector3.new(-0, 45.0000458, -0)
  1195. o115.Size = Vector3.new(0.392857164, 1.88571537, 1.57142949)
  1196. o115.CFrame = CFrame.new(9.70428181, 4.66243362, -38.5221481, 0.707107365, 0, 0.707107365, 0, 1, 0, -0.707107365, 0, 0.707107365)
  1197. o115.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1198. o115.Position = Vector3.new(9.70428181, 4.66243362, -38.5221481)
  1199. o116.Parent = o97
  1200. o116.PrimaryPart = o119
  1201. o117.Name = "Smooth Block Model"
  1202. o117.Parent = o116
  1203. o117.BrickColor = BrickColor.new("Grey")
  1204. o117.Position = Vector3.new(11.6488304, 6.86243629, -40.4666901)
  1205. o117.Rotation = Vector3.new(-0, 45.0000458, -0)
  1206. o117.Size = Vector3.new(0.392857164, 1.88571537, 1.57142949)
  1207. o117.CFrame = CFrame.new(11.6488304, 6.86243629, -40.4666901, 0.707107365, 0, 0.707107365, 0, 1, 0, -0.707107365, 0, 0.707107365)
  1208. o117.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1209. o117.Position = Vector3.new(11.6488304, 6.86243629, -40.4666901)
  1210. o118.Name = "Smooth Block Model"
  1211. o118.Parent = o116
  1212. o118.BrickColor = BrickColor.new("Grey")
  1213. o118.Position = Vector3.new(11.3710403, 6.86243629, -39.3555183)
  1214. o118.Rotation = Vector3.new(-0, -45.0000458, -0)
  1215. o118.Anchored = true
  1216. o118.FormFactor = Enum.FormFactor.Plate
  1217. o118.Size = Vector3.new(0.392857164, 1.88571537, 1.57142949)
  1218. o118.CFrame = CFrame.new(11.3710403, 6.86243629, -39.3555183, 0.707107365, 0, -0.707107365, 0, 1, 0, 0.707107365, 0, 0.707107365)
  1219. o118.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1220. o118.Position = Vector3.new(11.3710403, 6.86243629, -39.3555183)
  1221. o119.Name = "Smooth Block Model"
  1222. o119.Parent = o116
  1223. o119.BrickColor = BrickColor.new("Grey")
  1224. o119.Position = Vector3.new(10.9543505, 7.88386726, -39.7722092)
  1225. o119.Rotation = Vector3.new(-0, -45.0000458, -0)
  1226. o119.Anchored = true
  1227. o119.CanCollide = false
  1228. o119.FormFactor = Enum.FormFactor.Plate
  1229. o119.Size = Vector3.new(1.57142866, 0.200000003, 2.35714412)
  1230. o119.CFrame = CFrame.new(10.9543505, 7.88386726, -39.7722092, 0.707107365, 0, -0.707107365, 0, 1, 0, 0.707107365, 0, 0.707107365)
  1231. o119.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1232. o119.Position = Vector3.new(10.9543505, 7.88386726, -39.7722092)
  1233. o120.Parent = o119
  1234. o120.Scale = Vector3.new(1, 0.785714686, 1)
  1235. o121.Name = "Smooth Block Model"
  1236. o121.Parent = o116
  1237. o121.BrickColor = BrickColor.new("Grey")
  1238. o121.Position = Vector3.new(10.9543505, 5.84100533, -39.7722092)
  1239. o121.Rotation = Vector3.new(-0, -45.0000458, -0)
  1240. o121.Anchored = true
  1241. o121.CanCollide = false
  1242. o121.FormFactor = Enum.FormFactor.Plate
  1243. o121.Size = Vector3.new(1.57142866, 0.200000003, 2.35714412)
  1244. o121.CFrame = CFrame.new(10.9543505, 5.84100533, -39.7722092, 0.707107365, 0, -0.707107365, 0, 1, 0, 0.707107365, 0, 0.707107365)
  1245. o121.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1246. o121.Position = Vector3.new(10.9543505, 5.84100533, -39.7722092)
  1247. o122.Parent = o121
  1248. o122.Scale = Vector3.new(1, 0.785714686, 1)
  1249. o123.Name = "Smooth Block Model"
  1250. o123.Parent = o116
  1251. o123.BrickColor = BrickColor.new("Black")
  1252. o123.Position = Vector3.new(10.8048477, 6.86243629, -39.9217148)
  1253. o123.Rotation = Vector3.new(-0, -45.0000458, -0)
  1254. o123.Size = Vector3.new(1.20857143, 1.88571537, 1.91142941)
  1255. o123.CFrame = CFrame.new(10.8048477, 6.86243629, -39.9217148, 0.707107365, 0, -0.707107365, 0, 1, 0, 0.707107365, 0, 0.707107365)
  1256. o123.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1257. o123.Position = Vector3.new(10.8048477, 6.86243629, -39.9217148)
  1258. o124.Name = "Smooth Block Model"
  1259. o124.Parent = o116
  1260. o124.BrickColor = BrickColor.new("Grey")
  1261. o124.Position = Vector3.new(10.2598667, 6.86243629, -39.0777321)
  1262. o124.Rotation = Vector3.new(-0, 45.0000458, -0)
  1263. o124.Size = Vector3.new(0.392857164, 1.88571537, 1.57142949)
  1264. o124.CFrame = CFrame.new(10.2598667, 6.86243629, -39.0777321, 0.707107365, 0, 0.707107365, 0, 1, 0, -0.707107365, 0, 0.707107365)
  1265. o124.Color = Color3.new(0.631373, 0.647059, 0.635294)
  1266. o124.Position = Vector3.new(10.2598667, 6.86243629, -39.0777321)
  1267. o125.Name = "Fan"
  1268. o125.Parent = o1
  1269. o126.Name = "Fan"
  1270. o126.Parent = o125
  1271. o126.BrickColor = BrickColor.new("Really black")
  1272. o126.Position = Vector3.new(0.540704131, 5.88240814, -41.1707001)
  1273. o126.Rotation = Vector3.new(-0.000295054284, 45.0004539, -0.000153484696)
  1274. o126.Anchored = true
  1275. o126.FormFactor = Enum.FormFactor.Custom
  1276. o126.Size = Vector3.new(0.200000003, 0.400000036, 2)
  1277. o126.CFrame = CFrame.new(0.540704131, 5.88240814, -41.1707001, 0.707112372, 1.89422201e-006, 0.707112372, -9.62566332e-007, 1, 3.64139441e-006, -0.707112372, 3.21177868e-006, 0.707112372)
  1278. o126.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1279. o126.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1280. o126.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1281. o126.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1282. o126.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1283. o126.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1284. o126.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1285. o126.Position = Vector3.new(0.540704131, 5.88240814, -41.1707001)
  1286. o127.Name = "Rotate"
  1287. o127.Parent = o126
  1288. table.insert(cors,coroutine.create(function()
  1289. wait()
  1290. runDummyScript(function()
  1291. brick = script.Parent
  1292. while true do -- Loops script
  1293. wait(0.001)
  1294. brick.CFrame = brick.CFrame * CFrame.fromEulerAnglesXYZ(0.9999,0,0) -- Change 0.01 to whatever speed you want it to go
  1295. end
  1296.  
  1297. -- Calamity
  1298. end,o127)
  1299. end))
  1300. o128.Name = "Fan-to-Part Strong Joint"
  1301. o128.Parent = o126
  1302. o128.C0 = CFrame.new(-0.100000001, -0.200000018, -1, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1303. o128.C1 = CFrame.new(0.400000572, -0.200000763, -0.999999881, 0, 0, -1, 4.37113883e-008, 1, 0, 1, 4.37113883e-008, 0)
  1304. o128.Part0 = o126
  1305. o128.Part1 = o132
  1306. o129.Name = "Fan"
  1307. o129.Parent = o125
  1308. o129.BrickColor = BrickColor.new("Really black")
  1309. o129.Position = Vector3.new(0.540704131, 5.88240814, -41.1707001)
  1310. o129.Rotation = Vector3.new(90.0001907, -0.000108530927, -45)
  1311. o129.Anchored = true
  1312. o129.FormFactor = Enum.FormFactor.Custom
  1313. o129.Size = Vector3.new(0.200000003, 0.400000036, 2)
  1314. o129.CFrame = CFrame.new(0.540704131, 5.88240814, -41.1707001, 0.707112372, 0.707112372, -1.89422201e-006, -9.62566332e-007, 3.59768296e-006, -1, -0.707112372, 0.707112372, -3.21177868e-006)
  1315. o129.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1316. o129.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1317. o129.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1318. o129.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1319. o129.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1320. o129.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1321. o129.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1322. o129.Position = Vector3.new(0.540704131, 5.88240814, -41.1707001)
  1323. o130.Name = "Rotate"
  1324. o130.Parent = o129
  1325. table.insert(cors,coroutine.create(function()
  1326. wait()
  1327. runDummyScript(function()
  1328. brick = script.Parent
  1329. while true do -- Loops script
  1330. wait(0.001)
  1331. brick.CFrame = brick.CFrame * CFrame.fromEulerAnglesXYZ(0.9999,0,0) -- Change 0.01 to whatever speed you want it to go
  1332. end
  1333.  
  1334. -- Calamity
  1335. end,o130)
  1336. end))
  1337. o131.Name = "Fan-to-Part Strong Joint"
  1338. o131.Parent = o129
  1339. o131.C0 = CFrame.new(-0.100000001, -0.200000018, -1, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1340. o131.C1 = CFrame.new(0.400000572, 0.999999523, -0.199999809, 0, 0, -1, -1, 0, 0, -4.37113883e-008, 1, 0)
  1341. o131.Part0 = o129
  1342. o131.Part1 = o132
  1343. o132.Parent = o125
  1344. o132.BrickColor = BrickColor.new("Really black")
  1345. o132.Position = Vector3.new(0.187149942, 5.88240814, -40.8171387)
  1346. o132.Rotation = Vector3.new(-0.000295054284, 45.0004539, -0.000153484696)
  1347. o132.Anchored = true
  1348. o132.FormFactor = Enum.FormFactor.Custom
  1349. o132.Size = Vector3.new(0.800000012, 0.799999952, 0.800000012)
  1350. o132.CFrame = CFrame.new(0.187149942, 5.88240814, -40.8171387, 0.707112372, 1.89422201e-006, 0.707112372, -9.62566332e-007, 1, 3.64139441e-006, -0.707112372, 3.21177868e-006, 0.707112372)
  1351. o132.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1352. o132.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1353. o132.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1354. o132.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1355. o132.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1356. o132.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1357. o132.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1358. o132.Position = Vector3.new(0.187149942, 5.88240814, -40.8171387)
  1359. o133.Parent = o132
  1360. o133.MeshType = Enum.MeshType.Cylinder
  1361. o134.Parent = o125
  1362. o134.BrickColor = BrickColor.new("Really black")
  1363. o134.Position = Vector3.new(0.0457255319, 4.98239803, -40.6757278)
  1364. o134.Rotation = Vector3.new(-0.000295054284, 45.0004539, -0.000153484696)
  1365. o134.Anchored = true
  1366. o134.FormFactor = Enum.FormFactor.Custom
  1367. o134.Size = Vector3.new(0.400000006, 2.20000005, 0.400000006)
  1368. o134.CFrame = CFrame.new(0.0457255319, 4.98239803, -40.6757278, 0.707112372, 1.89422201e-006, 0.707112372, -9.62566332e-007, 1, 3.64139441e-006, -0.707112372, 3.21177868e-006, 0.707112372)
  1369. o134.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1370. o134.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1371. o134.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1372. o134.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1373. o134.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1374. o134.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1375. o134.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1376. o134.Position = Vector3.new(0.0457255319, 4.98239803, -40.6757278)
  1377. o135.Name = "Part-to-Part Strong Joint"
  1378. o135.Parent = o134
  1379. o135.C0 = CFrame.new(0.200000003, -1.10000002, 0.200000003, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1380. o135.C1 = CFrame.new(-0.400000572, 0.0999999046, 0.200000048, 1, 0, 0, 0, 4.37113883e-008, -1, 0, 1, -4.37113883e-008)
  1381. o135.Part0 = o134
  1382. o135.Part1 = o136
  1383. o136.Parent = o125
  1384. o136.BrickColor = BrickColor.new("Really black")
  1385. o136.Position = Vector3.new(0.469990849, 3.7824111, -41.0999985)
  1386. o136.Rotation = Vector3.new(-0.000295054284, 45.0004539, -0.000153484696)
  1387. o136.Anchored = true
  1388. o136.FormFactor = Enum.FormFactor.Custom
  1389. o136.Size = Vector3.new(1.60000014, 0.200000003, 2.4000001)
  1390. o136.CFrame = CFrame.new(0.469990849, 3.7824111, -41.0999985, 0.707112372, 1.89422201e-006, 0.707112372, -9.62566332e-007, 1, 3.64139441e-006, -0.707112372, 3.21177868e-006, 0.707112372)
  1391. o136.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1392. o136.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1393. o136.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1394. o136.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1395. o136.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1396. o136.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1397. o136.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1398. o136.Position = Vector3.new(0.469990849, 3.7824111, -41.0999985)
  1399. o137.Parent = o125
  1400. o137.BrickColor = BrickColor.new("Really black")
  1401. o137.Position = Vector3.new(0.399277419, 5.88240767, -41.0292816)
  1402. o137.Rotation = Vector3.new(-89.9998169, 0.000108530927, 45)
  1403. o137.Anchored = true
  1404. o137.FormFactor = Enum.FormFactor.Custom
  1405. o137.Size = Vector3.new(0.200000003, 0.400000006, 2.80000019)
  1406. o137.CFrame = CFrame.new(0.399277419, 5.88240767, -41.0292816, 0.707112372, -0.707112372, 1.89422201e-006, -9.62566332e-007, -3.59768296e-006, 1, -0.707112372, -0.707112372, 3.21177868e-006)
  1407. o137.BottomSurface = Enum.SurfaceType.Smooth
  1408. o137.TopSurface = Enum.SurfaceType.Smooth
  1409. o137.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1410. o137.Position = Vector3.new(0.399277419, 5.88240767, -41.0292816)
  1411. o138.Name = "Part-to-Part Strong Joint"
  1412. o138.Parent = o137
  1413. o138.C0 = CFrame.new(0.100000001, -1, 0.200000003, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1414. o138.C1 = CFrame.new(-0.400000572, 0.0999999046, 0.300000042, 1, 0, 0, 0, 4.37113883e-008, -1, 0, 1, -4.37113883e-008)
  1415. o138.Part0 = o137
  1416. o139.Parent = o125
  1417. o139.BrickColor = BrickColor.new("Really black")
  1418. o139.Position = Vector3.new(0.399281621, 5.88240719, -41.0292778)
  1419. o139.Rotation = Vector3.new(-0.000295054284, 45.0004539, -0.000153484696)
  1420. o139.Anchored = true
  1421. o139.FormFactor = Enum.FormFactor.Custom
  1422. o139.Size = Vector3.new(0.200000003, 0.400000006, 2.80000019)
  1423. o139.CFrame = CFrame.new(0.399281621, 5.88240719, -41.0292778, 0.707112372, 1.89422201e-006, 0.707112372, -9.62566332e-007, 1, 3.64139441e-006, -0.707112372, 3.21177868e-006, 0.707112372)
  1424. o139.BottomSurface = Enum.SurfaceType.Smooth
  1425. o139.TopSurface = Enum.SurfaceType.Smooth
  1426. o139.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1427. o139.Position = Vector3.new(0.399281621, 5.88240719, -41.0292778)
  1428. o140.Name = "Part-to-Part Strong Joint"
  1429. o140.Parent = o139
  1430. o140.C0 = CFrame.new(0.100000001, -1, 0.200000003, 1, 0, 0, 0, 0, -1, 0, 1, 0)
  1431. o140.C1 = CFrame.new(-0.400000572, 0.0999999046, 0.300000042, 1, 0, 0, 0, 4.37113883e-008, -1, 0, 1, -4.37113883e-008)
  1432. o140.Part0 = o139
  1433. o141.Parent = o1
  1434. o141.Transparency = 100
  1435. o141.Position = Vector3.new(6.19000244, 0.5, -51.789978)
  1436. o141.Anchored = true
  1437. o141.CanCollide = false
  1438. o141.Size = Vector3.new(6, 1, 6)
  1439. o141.CFrame = CFrame.new(6.19000244, 0.5, -51.789978, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1440. o141.TopSurface = Enum.SurfaceType.Smooth
  1441. o141.Position = Vector3.new(6.19000244, 0.5, -51.789978)
  1442. o142.Parent = o1
  1443. o142.Transparency = 1
  1444. o142.Position = Vector3.new(14.6999998, 14.8249979, -6.4000001)
  1445. o142.Anchored = true
  1446. o142.CanCollide = false
  1447. o142.Size = Vector3.new(4, 1, 2)
  1448. o142.CFrame = CFrame.new(14.6999998, 14.8249979, -6.4000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1449. o142.Position = Vector3.new(14.6999998, 14.8249979, -6.4000001)
  1450. o143.Parent = o142
  1451. table.insert(cors,coroutine.create(function()
  1452. wait()
  1453. runDummyScript(function()
  1454. wait(0)
  1455. script.Music:play()
  1456.  
  1457. end,o143)
  1458. end))
  1459. o144.Name = "Music"
  1460. o144.Parent = o143
  1461. o144.SoundId = "rbxassetid://177922849"
  1462. o144.Looped = true
  1463. mas.Parent = workspace
  1464. mas:MakeJoints()
  1465. local mas1 = mas:GetChildren()
  1466. for i=1,#mas1 do
  1467. mas1[i].Parent = workspace
  1468. ypcall(function() mas1[i]:MakeJoints() end)
  1469. end
  1470. mas:Destroy()
  1471. for i=1,#cors do
  1472. coroutine.resume(cors[i])
  1473. end
  1474.  
  1475. game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
  1476. game:GetService("Lighting").Brightness = 0
  1477. game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  1478. game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  1479. game:GetService("Lighting").GlobalShadows = true
  1480. game:GetService("Lighting").OutdoorAmbient = Color3.new(0, 0, 0)
  1481. game:GetService("Lighting").Outlines = true
  1482. game:GetService("Lighting").GeographicLatitude = 41.733299255371
  1483. game:GetService("Lighting").TimeOfDay = "00:00:00"
  1484. game:GetService("Lighting").FogColor = Color3.new(0.75, 0.75, 0.75)
  1485. game:GetService("Lighting").FogEnd = 100000
  1486. game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement