Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Script0 = Instance.new("Script")
- Model1 = Instance.new("Model")
- Part2 = Instance.new("Part")
- BlockMesh3 = Instance.new("BlockMesh")
- Script4 = Instance.new("Script")
- BoolValue5 = Instance.new("BoolValue")
- Decal6 = Instance.new("Decal")
- Decal7 = Instance.new("Decal")
- Part8 = Instance.new("Part")
- BlockMesh9 = Instance.new("BlockMesh")
- Script10 = Instance.new("Script")
- BoolValue11 = Instance.new("BoolValue")
- Decal12 = Instance.new("Decal")
- Decal13 = Instance.new("Decal")
- Part14 = Instance.new("Part")
- BlockMesh15 = Instance.new("BlockMesh")
- Script16 = Instance.new("Script")
- BoolValue17 = Instance.new("BoolValue")
- Decal18 = Instance.new("Decal")
- Decal19 = Instance.new("Decal")
- Part20 = Instance.new("Part")
- BlockMesh21 = Instance.new("BlockMesh")
- Script22 = Instance.new("Script")
- BoolValue23 = Instance.new("BoolValue")
- Decal24 = Instance.new("Decal")
- Decal25 = Instance.new("Decal")
- Part26 = Instance.new("Part")
- BlockMesh27 = Instance.new("BlockMesh")
- Script28 = Instance.new("Script")
- BoolValue29 = Instance.new("BoolValue")
- Decal30 = Instance.new("Decal")
- Decal31 = Instance.new("Decal")
- Part32 = Instance.new("Part")
- BlockMesh33 = Instance.new("BlockMesh")
- Script34 = Instance.new("Script")
- BoolValue35 = Instance.new("BoolValue")
- Decal36 = Instance.new("Decal")
- Decal37 = Instance.new("Decal")
- Part38 = Instance.new("Part")
- BlockMesh39 = Instance.new("BlockMesh")
- Script40 = Instance.new("Script")
- BoolValue41 = Instance.new("BoolValue")
- Decal42 = Instance.new("Decal")
- Decal43 = Instance.new("Decal")
- Model44 = Instance.new("Model")
- Script45 = Instance.new("Script")
- Sound46 = Instance.new("Sound")
- Sound47 = Instance.new("Sound")
- Sound48 = Instance.new("Sound")
- Sound49 = Instance.new("Sound")
- Sound50 = Instance.new("Sound")
- Sound51 = Instance.new("Sound")
- Sound52 = Instance.new("Sound")
- Sound53 = Instance.new("Sound")
- Sound54 = Instance.new("Sound")
- Sound55 = Instance.new("Sound")
- Sound56 = Instance.new("Sound")
- Script57 = Instance.new("Script")
- Script58 = Instance.new("Script")
- Script59 = Instance.new("Script")
- Sound60 = Instance.new("Sound")
- Script61 = Instance.new("Script")
- Sound62 = Instance.new("Sound")
- Script63 = Instance.new("Script")
- Sound64 = Instance.new("Sound")
- Script65 = Instance.new("Script")
- Script66 = Instance.new("Script")
- Script67 = Instance.new("Script")
- Sound68 = Instance.new("Sound")
- Sound69 = Instance.new("Sound")
- Sound70 = Instance.new("Sound")
- Sound71 = Instance.new("Sound")
- Sound72 = Instance.new("Sound")
- Sound73 = Instance.new("Sound")
- Sound74 = Instance.new("Sound")
- Sound75 = Instance.new("Sound")
- Sound76 = Instance.new("Sound")
- Script77 = Instance.new("Script")
- Sound78 = Instance.new("Sound")
- Sound79 = Instance.new("Sound")
- Script80 = Instance.new("Script")
- Script81 = Instance.new("Script")
- Sound82 = Instance.new("Sound")
- Sound83 = Instance.new("Sound")
- Sound84 = Instance.new("Sound")
- Model85 = Instance.new("Model")
- Humanoid86 = Instance.new("Humanoid")
- Part87 = Instance.new("Part")
- CylinderMesh88 = Instance.new("CylinderMesh")
- Part89 = Instance.new("Part")
- CylinderMesh90 = Instance.new("CylinderMesh")
- Script91 = Instance.new("Script")
- ClickDetector92 = Instance.new("ClickDetector")
- Part93 = Instance.new("Part")
- BlockMesh94 = Instance.new("BlockMesh")
- Script95 = Instance.new("Script")
- BoolValue96 = Instance.new("BoolValue")
- Decal97 = Instance.new("Decal")
- Decal98 = Instance.new("Decal")
- Model99 = Instance.new("Model")
- Part100 = Instance.new("Part")
- CylinderMesh101 = Instance.new("CylinderMesh")
- Part102 = Instance.new("Part")
- SpecialMesh103 = Instance.new("SpecialMesh")
- Part104 = Instance.new("Part")
- SpotLight105 = Instance.new("SpotLight")
- Part106 = Instance.new("Part")
- SpotLight107 = Instance.new("SpotLight")
- BoolValue108 = Instance.new("BoolValue")
- Script109 = Instance.new("Script")
- Model110 = Instance.new("Model")
- Part111 = Instance.new("Part")
- Weld112 = Instance.new("Weld")
- Script113 = Instance.new("Script")
- Script114 = Instance.new("Script")
- SpecialMesh115 = Instance.new("SpecialMesh")
- Part116 = Instance.new("Part")
- SpecialMesh117 = Instance.new("SpecialMesh")
- NumberValue118 = Instance.new("NumberValue")
- NumberValue119 = Instance.new("NumberValue")
- Script120 = Instance.new("Script")
- Sound121 = Instance.new("Sound")
- Part122 = Instance.new("Part")
- BlockMesh123 = Instance.new("BlockMesh")
- Script124 = Instance.new("Script")
- BoolValue125 = Instance.new("BoolValue")
- Decal126 = Instance.new("Decal")
- Decal127 = Instance.new("Decal")
- Script0.Name = "Lockdown"
- Script0.Parent = mas
- Script0.Disabled = true
- table.insert(cors,sandbox(Script0,function()
- --Rise the doors on enter--
- game.Workspace.lockdowndoor1.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor1.Script.Disabled = false
- game.Workspace.lockdowndoor2.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor2.Script.Disabled = false
- game.Workspace.lockdowndoor3.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor3.Script.Disabled = false
- game.Workspace.lockdowndoor4.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor4.Script.Disabled = false
- game.Workspace.lockdowndoor5.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor5.Script.Disabled = false
- game.Workspace.lockdowndoor6.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor6.Script.Disabled = false
- game.Workspace.lockdowndoor7.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor7.Script.Disabled = false
- game.Workspace.lockdowndoor8.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor8.Script.Disabled = false
- game.Workspace.lockdowndoor9.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor9.Script.Disabled = false
- game.Workspace.lockdowndoor10.Script.Disabled = true
- end))
- Model1.Parent = mas
- Part2.Name = "lockdowndoor8"
- Part2.Parent = Model1
- Part2.BrickColor = BrickColor.new("Dark stone grey")
- Part2.Reflectance = 0.20000000298023
- Part2.Rotation = Vector3.new(0, 90, 0)
- Part2.Anchored = true
- Part2.FormFactor = Enum.FormFactor.Custom
- Part2.Size = Vector3.new(34, 23, 2)
- Part2.CFrame = CFrame.new(19.3480682, 57.5127907, 68.8016739, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part2.BackSurface = Enum.SurfaceType.Studs
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.FrontSurface = Enum.SurfaceType.Inlet
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part2.Position = Vector3.new(19.3480682, 57.5127907, 68.8016739)
- Part2.Orientation = Vector3.new(0, 90, 0)
- Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh3.Parent = Part2
- BlockMesh3.Scale = Vector3.new(1, 1, 0.5)
- BlockMesh3.Scale = Vector3.new(1, 1, 0.5)
- Script4.Parent = Part2
- table.insert(cors,sandbox(Script4,function()
- Speed = .2
- Running = false
- if script.Parent.Active.Value == false then
- script.Parent.Active.Value = true
- if Running == true then return end
- Running = true
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,-.2*Speed,0)
- wait()
- end
- else
- script.Parent.Active.Value = false
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,.2*Speed,0)
- wait()
- end
- Running = false
- end
- end))
- BoolValue5.Name = "Active"
- BoolValue5.Parent = Part2
- BoolValue5.Value = true
- Decal6.Parent = Part2
- Decal6.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal7.Parent = Part2
- Decal7.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal7.Face = Enum.NormalId.Back
- Part8.Name = "lockdowndoor7"
- Part8.Parent = Model1
- Part8.BrickColor = BrickColor.new("Dark stone grey")
- Part8.Reflectance = 0.20000000298023
- Part8.Rotation = Vector3.new(0, 90, 0)
- Part8.Anchored = true
- Part8.FormFactor = Enum.FormFactor.Custom
- Part8.Size = Vector3.new(34, 23, 2)
- Part8.CFrame = CFrame.new(19.3480682, 34.5128021, 68.8016739, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part8.BackSurface = Enum.SurfaceType.Studs
- Part8.BottomSurface = Enum.SurfaceType.Smooth
- Part8.FrontSurface = Enum.SurfaceType.Inlet
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part8.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part8.Position = Vector3.new(19.3480682, 34.5128021, 68.8016739)
- Part8.Orientation = Vector3.new(0, 90, 0)
- Part8.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh9.Parent = Part8
- BlockMesh9.Scale = Vector3.new(1, 1, 0.5)
- BlockMesh9.Scale = Vector3.new(1, 1, 0.5)
- Script10.Parent = Part8
- table.insert(cors,sandbox(Script10,function()
- Speed = .2
- Running = false
- if script.Parent.Active.Value == false then
- script.Parent.Active.Value = true
- if Running == true then return end
- Running = true
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,-.2*Speed,0)
- wait()
- end
- else
- script.Parent.Active.Value = false
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,.2*Speed,0)
- wait()
- end
- Running = false
- end
- end))
- BoolValue11.Name = "Active"
- BoolValue11.Parent = Part8
- BoolValue11.Value = true
- Decal12.Parent = Part8
- Decal12.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal13.Parent = Part8
- Decal13.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal13.Face = Enum.NormalId.Back
- Part14.Name = "lockdowndoor6"
- Part14.Parent = Model1
- Part14.BrickColor = BrickColor.new("Dark stone grey")
- Part14.Reflectance = 0.20000000298023
- Part14.Rotation = Vector3.new(0, 90, 0)
- Part14.Anchored = true
- Part14.FormFactor = Enum.FormFactor.Custom
- Part14.Size = Vector3.new(34, 23, 2)
- Part14.CFrame = CFrame.new(19.3480682, 11.5094557, 68.8016739, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part14.BackSurface = Enum.SurfaceType.Studs
- Part14.BottomSurface = Enum.SurfaceType.Smooth
- Part14.FrontSurface = Enum.SurfaceType.Inlet
- Part14.TopSurface = Enum.SurfaceType.Smooth
- Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part14.Position = Vector3.new(19.3480682, 11.5094557, 68.8016739)
- Part14.Orientation = Vector3.new(0, 90, 0)
- Part14.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh15.Parent = Part14
- BlockMesh15.Scale = Vector3.new(1, 1, 0.5)
- BlockMesh15.Scale = Vector3.new(1, 1, 0.5)
- Script16.Parent = Part14
- table.insert(cors,sandbox(Script16,function()
- Speed = .2
- Running = false
- if script.Parent.Active.Value == false then
- script.Parent.Active.Value = true
- if Running == true then return end
- Running = true
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,-.2*Speed,0)
- wait()
- end
- else
- script.Parent.Active.Value = false
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,.2*Speed,0)
- wait()
- end
- Running = false
- end
- end))
- BoolValue17.Name = "Active"
- BoolValue17.Parent = Part14
- BoolValue17.Value = true
- Decal18.Parent = Part14
- Decal18.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal19.Parent = Part14
- Decal19.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal19.Face = Enum.NormalId.Back
- Part20.Name = "lockdowndoor5"
- Part20.Parent = Model1
- Part20.BrickColor = BrickColor.new("Dark stone grey")
- Part20.Reflectance = 0.20000000298023
- Part20.Rotation = Vector3.new(0, 90, 0)
- Part20.Anchored = true
- Part20.FormFactor = Enum.FormFactor.Custom
- Part20.Size = Vector3.new(34, 23, 2)
- Part20.CFrame = CFrame.new(5.54807997, 103.509995, 69.5016708, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part20.BackSurface = Enum.SurfaceType.Studs
- Part20.BottomSurface = Enum.SurfaceType.Smooth
- Part20.FrontSurface = Enum.SurfaceType.Inlet
- Part20.TopSurface = Enum.SurfaceType.Smooth
- Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part20.Position = Vector3.new(5.54807997, 103.509995, 69.5016708)
- Part20.Orientation = Vector3.new(0, 90, 0)
- Part20.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh21.Parent = Part20
- BlockMesh21.Scale = Vector3.new(1, 1, 0.5)
- BlockMesh21.Scale = Vector3.new(1, 1, 0.5)
- Script22.Parent = Part20
- table.insert(cors,sandbox(Script22,function()
- Speed = .2
- Running = false
- if script.Parent.Active.Value == false then
- script.Parent.Active.Value = true
- if Running == true then return end
- Running = true
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,-.2*Speed,0)
- wait()
- end
- else
- script.Parent.Active.Value = false
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,.2*Speed,0)
- wait()
- end
- Running = false
- end
- end))
- BoolValue23.Name = "Active"
- BoolValue23.Parent = Part20
- BoolValue23.Value = true
- Decal24.Parent = Part20
- Decal24.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal25.Parent = Part20
- Decal25.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal25.Face = Enum.NormalId.Back
- Part26.Name = "lockdowndoor4"
- Part26.Parent = Model1
- Part26.BrickColor = BrickColor.new("Dark stone grey")
- Part26.Reflectance = 0.20000000298023
- Part26.Rotation = Vector3.new(0, 90, 0)
- Part26.Anchored = true
- Part26.FormFactor = Enum.FormFactor.Custom
- Part26.Size = Vector3.new(34, 23, 2)
- Part26.CFrame = CFrame.new(5.54807997, 80.5101624, 69.5016708, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part26.BackSurface = Enum.SurfaceType.Studs
- Part26.BottomSurface = Enum.SurfaceType.Smooth
- Part26.FrontSurface = Enum.SurfaceType.Inlet
- Part26.TopSurface = Enum.SurfaceType.Smooth
- Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part26.Position = Vector3.new(5.54807997, 80.5101624, 69.5016708)
- Part26.Orientation = Vector3.new(0, 90, 0)
- Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh27.Parent = Part26
- BlockMesh27.Scale = Vector3.new(1, 1, 0.5)
- BlockMesh27.Scale = Vector3.new(1, 1, 0.5)
- Script28.Parent = Part26
- table.insert(cors,sandbox(Script28,function()
- Speed = .2
- Running = false
- if script.Parent.Active.Value == false then
- script.Parent.Active.Value = true
- if Running == true then return end
- Running = true
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,-.2*Speed,0)
- wait()
- end
- else
- script.Parent.Active.Value = false
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,.2*Speed,0)
- wait()
- end
- Running = false
- end
- end))
- BoolValue29.Name = "Active"
- BoolValue29.Parent = Part26
- BoolValue29.Value = true
- Decal30.Parent = Part26
- Decal30.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal31.Parent = Part26
- Decal31.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal31.Face = Enum.NormalId.Back
- Part32.Name = "lockdowndoor1"
- Part32.Parent = Model1
- Part32.BrickColor = BrickColor.new("Dark stone grey")
- Part32.Reflectance = 0.20000000298023
- Part32.Rotation = Vector3.new(0, 90, 0)
- Part32.Anchored = true
- Part32.FormFactor = Enum.FormFactor.Custom
- Part32.Size = Vector3.new(34, 23, 2)
- Part32.CFrame = CFrame.new(5.54807997, 11.510088, 69.5016708, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part32.BackSurface = Enum.SurfaceType.Studs
- Part32.BottomSurface = Enum.SurfaceType.Smooth
- Part32.FrontSurface = Enum.SurfaceType.Inlet
- Part32.TopSurface = Enum.SurfaceType.Smooth
- Part32.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part32.Position = Vector3.new(5.54807997, 11.510088, 69.5016708)
- Part32.Orientation = Vector3.new(0, 90, 0)
- Part32.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh33.Parent = Part32
- BlockMesh33.Scale = Vector3.new(1, 1, 0.5)
- BlockMesh33.Scale = Vector3.new(1, 1, 0.5)
- Script34.Parent = Part32
- table.insert(cors,sandbox(Script34,function()
- Speed = .2
- Running = false
- if script.Parent.Active.Value == false then
- script.Parent.Active.Value = true
- if Running == true then return end
- Running = true
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,-.2*Speed,0)
- wait()
- end
- else
- script.Parent.Active.Value = false
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,.2*Speed,0)
- wait()
- end
- Running = false
- end
- end))
- BoolValue35.Name = "Active"
- BoolValue35.Parent = Part32
- BoolValue35.Value = true
- Decal36.Parent = Part32
- Decal36.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal37.Parent = Part32
- Decal37.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal37.Face = Enum.NormalId.Back
- Part38.Name = "lockdowndoor9"
- Part38.Parent = Model1
- Part38.BrickColor = BrickColor.new("Dark stone grey")
- Part38.Reflectance = 0.20000000298023
- Part38.Rotation = Vector3.new(0, 90, 0)
- Part38.Anchored = true
- Part38.FormFactor = Enum.FormFactor.Custom
- Part38.Size = Vector3.new(34, 23, 2)
- Part38.CFrame = CFrame.new(19.3480682, 80.5058975, 68.8016739, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part38.BackSurface = Enum.SurfaceType.Studs
- Part38.BottomSurface = Enum.SurfaceType.Smooth
- Part38.FrontSurface = Enum.SurfaceType.Inlet
- Part38.TopSurface = Enum.SurfaceType.Smooth
- Part38.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part38.Position = Vector3.new(19.3480682, 80.5058975, 68.8016739)
- Part38.Orientation = Vector3.new(0, 90, 0)
- Part38.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh39.Parent = Part38
- BlockMesh39.Scale = Vector3.new(1, 1, 0.5)
- BlockMesh39.Scale = Vector3.new(1, 1, 0.5)
- Script40.Parent = Part38
- table.insert(cors,sandbox(Script40,function()
- Speed = .2
- Running = false
- if script.Parent.Active.Value == false then
- script.Parent.Active.Value = true
- if Running == true then return end
- Running = true
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,-.2*Speed,0)
- wait()
- end
- else
- script.Parent.Active.Value = false
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,.2*Speed,0)
- wait()
- end
- Running = false
- end
- end))
- BoolValue41.Name = "Active"
- BoolValue41.Parent = Part38
- BoolValue41.Value = true
- Decal42.Parent = Part38
- Decal42.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal43.Parent = Part38
- Decal43.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal43.Face = Enum.NormalId.Back
- Model44.Name = "selfdestructsystem"
- Model44.Parent = Model1
- Script45.Name = "Gate"
- Script45.Parent = Model44
- Script45.Disabled = true
- table.insert(cors,sandbox(Script45,function()
- local g = Instance.new("Hint",Workspace)
- g.Text = "CORE OVERHEATING! PLEASE EVACUATE!"
- wait(2)
- g:Destroy()
- script.Serverlite.Disabled = false
- script.ReverseAlarm.Disabled = false
- --script.warn1:Play()
- --wait(19)
- script.music:Play()
- wait(5)
- script.music6:Play()
- local msg = Instance.new("Message")
- msg.Parent = game.Workspace
- msg.Name = 'HelloBrick'
- msg.Text = "! Warning - Self Destruct System Initiated !"
- wait(0.1)
- msg.Text = "!! Warning - Self Destruct System Initiated !!"
- wait(0.1)
- msg.Text = "!!! Warning - Self Destruct System Initiated !!!"
- wait(0.1)
- msg.Text = "!!!! Warning - Self Destruct System Initiated !!!!"
- wait(0.1)
- msg.Text = "!!!! Warning - Self Destruct System Initiated !!!!!"
- wait(0.1)
- msg.Text = "!!!! Warning - Self Destruct System Initiated !!!!"
- wait(0.1)
- msg.Text = "!!! Warning - Self Destruct System Initiated !!!"
- wait(0.1)
- msg.Text = "!! Warning - Self Destruct System Initiated !!"
- wait(0.1)
- msg.Text = "! Warning - Self Destruct System Initiated !"
- wait(0.1)
- msg.Text = "!! Warning - Self Destruct System Initiated !!"
- wait(0.1)
- msg.Text = "!!! Warning - Self Destruct System Initiated !!!"
- wait(0.1)
- msg.Text = "!!!! Warning - Self Destruct System Initiated !!!!"
- wait(0.1)
- msg.Text = "!!!! Warning - Self Destruct System Initiated !!!!!"
- wait(0.1)
- msg.Text = "!!!! Warning - Self Destruct System Initiated !!!!"
- wait(0.1)
- msg.Text = "!!! Warning - Self Destruct System Initiated !!!"
- wait(0.1)
- msg.Text = "!! Warning - Self Destruct System Initiated !!"
- wait(0.1)
- msg.Text = "! Warning - Self Destruct System Initiated !"
- wait(0.1)
- msg.Text = "!! Warning - Self Destruct System Initiated !!"
- wait(0.1)
- msg.Text = "!!! Warning - Self Destruct System Initiated !!!"
- wait(0.1)
- msg.Text = "!!!! Warning - Self Destruct System Initiated !!!!"
- wait(0.1)
- msg.Text = "!!!! Warning - Self Destruct System Initiated !!!!!"
- wait(0.1)
- msg.Text = "!!!! Warning - Self Destruct System Initiated !!!!"
- wait(0.1)
- msg.Text = "!!! Warning - Self Destruct System Initiated !!!"
- wait(0.1)
- msg.Text = "!! Warning - Self Destruct System Initiated !!"
- wait(0.1)
- msg.Text = "! Warning - Self Destruct System Initiated !"
- wait(0.1)
- msg.Text = "EVACUATE TO SILOS NOW!"
- wait(0.7)
- msg.Text = "YOU SCREW IT!"
- wait(0.7)
- msg.Text = "EVACUATE TO EMERGENCY COOLANT!"
- wait(0.7)
- msg.Text = "YOU SCREW IT! "
- wait(0.7)
- msg.Text = "EVACUATE TO ESCAPE PASS!"
- wait(1)
- script.music6:Stop()
- game.Workspace.HelloBrick:remove()
- wait(1)
- script.Countdown.Disabled = false
- wait(20)
- game.Workspace.lockdowndoor1.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor1.Script.Disabled = false
- game.Workspace.lockdowndoor2.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor2.Script.Disabled = false
- game.Workspace.lockdowndoor3.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor3.Script.Disabled = false
- game.Workspace.lockdowndoor4.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor4.Script.Disabled = false
- game.Workspace.lockdowndoor5.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor5.Script.Disabled = false
- game.Workspace.lockdowndoor6.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor6.Script.Disabled = false
- game.Workspace.lockdowndoor7.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor7.Script.Disabled = false
- game.Workspace.lockdowndoor8.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor8.Script.Disabled = false
- game.Workspace.lockdowndoor9.Script.Disabled = true
- wait(.1)
- game.Workspace.lockdowndoor9.Script.Disabled = false
- end))
- Sound46.Name = "music"
- Sound46.Parent = Script45
- Sound46.SoundId = "http://www.roblox.com/asset/?id=130894143"
- Sound46.Volume = 1
- Sound47.Name = "music1"
- Sound47.Parent = Script45
- Sound47.SoundId = "http://www.roblox.com/asset/?id=130894379"
- Sound47.Volume = 1
- Sound48.Name = "music2"
- Sound48.Parent = Script45
- Sound48.SoundId = "http://www.roblox.com/asset/?id=130886114"
- Sound48.Volume = 1
- Sound49.Name = "music3"
- Sound49.Parent = Script45
- Sound49.SoundId = "http://www.roblox.com/asset/?id=130886089"
- Sound49.Volume = 1
- Sound50.Name = "music4"
- Sound50.Parent = Script45
- Sound50.SoundId = "http://www.roblox.com/asset/?id=130894483"
- Sound50.Volume = 1
- Sound51.Name = "music5"
- Sound51.Parent = Script45
- Sound51.SoundId = "http://www.roblox.com/asset/?id=130895130"
- Sound51.Volume = 1
- Sound52.Name = "music6"
- Sound52.Parent = Script45
- Sound52.SoundId = "http://www.roblox.com/asset/?id=138081509"
- Sound52.Volume = 1
- Sound52.Looped = true
- Sound53.Name = "music7"
- Sound53.Parent = Script45
- Sound53.SoundId = "http://www.roblox.com/asset/?id=141279377"
- Sound53.Volume = 1
- Sound53.Looped = true
- Sound54.Name = "firesound"
- Sound54.Parent = Script45
- Sound54.SoundId = "http://www.roblox.com/asset/?id=31760113"
- Sound54.Volume = 0.10000000149012
- Sound54.Looped = true
- Sound55.Name = "explosiondistant"
- Sound55.Parent = Script45
- Sound55.Pitch = 0.20000000298023
- Sound55.SoundId = "http://roblox.com/asset/?id=10209859"
- Sound55.Volume = 1
- Sound56.Name = "explosionbang"
- Sound56.Parent = Script45
- Sound56.SoundId = "http://www.roblox.com/asset/?id=2248511"
- Sound56.Volume = 0.30000001192093
- Sound56.PlayOnRemove = true
- Script57.Name = "Countdown"
- Script57.Parent = Script45
- Script57.Disabled = true
- table.insert(cors,sandbox(Script57,function()
- Countdown = 120
- script.Parent.Alarmy:play()
- script.Parent.Epic:Play()
- Count = Countdown
- local m = Instance.new("Hint", game.Workspace)
- while true do
- if Countdown == 0 then
- Countdown = Count
- else
- m.Text = " Self Destruct in T-"..Countdown.." "
- wait(0.1)
- m.Text = "! Self Destruct in T-"..Countdown.." !"
- wait(0.1)
- m.Text = "!! Self Destruct in T-"..Countdown.." !!"
- wait(0.1)
- m.Text = "!!! Self Destruct in T-"..Countdown.." !!!"
- wait(0.1)
- m.Text = "!!!! Self Destruct in T-"..Countdown.." !!!!"
- wait(0.1)
- m.Text = "!!!!! Self Destruct in T-"..Countdown.." !!!!!"
- wait(0.1)
- m.Text = "!!!! Self Destruct in T-"..Countdown.." !!!!"
- wait(0.1)
- m.Text = "!!! Self Destruct in T-"..Countdown.." !!!"
- wait(0.1)
- m.Text = "!! Self Destruct in T-"..Countdown.." !!"
- wait(0.1)
- m.Text = "! Self Destruct in T-"..Countdown.." !"
- wait(0.1)
- Countdown = Countdown - 1
- --if m.Text == "Self Destruct in T-10" then
- if Countdown == 9 then
- m:remove()
- script.Parent.Voice.Disabled = false
- script.Parent.Explosion01:Play()
- script.Parent.Alarmy:stop()
- script.Parent.Epic:Stop()
- end
- end
- end
- end))
- Script58.Name = "Voice"
- Script58.Parent = Script45
- Script58.Disabled = true
- table.insert(cors,sandbox(Script58,function()
- script.about2die.Disabled = false
- --script.Parent.Soon2Die:stop()
- script.OMGYES:Play()
- --script.Parent.TenToZero:Play()
- --script.Parent.Tsunami:Play()
- script.Parent.Epic:stop()
- script.Parent.Music1338:stop()
- wait(14.5)
- --game.Workspace.ABOUT2DIE:Destroy()
- game.Workspace.ABOUT2DIE.Text = "NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
- script.about2die.Disabled = true
- --wait(13)
- --game.Lighting.Ambient=Color3.new(255,0,0)
- --script.Parent.Explosion02:Play()
- script.Parent.MUCHBIG:Play()
- --script.Parent.End:Play()
- --wait(3)
- --script.Parent.explosion:Play()
- --script.Parent.explosionbang:Play()
- --script.Parent.explosiondistant:Play()
- --script.Parent.firesound:Play()
- --wait(10)
- --script.Parent.Explosion01:Play()
- --wait(5)
- --script.Parent.Explosion03:Play()
- --wait(2)
- game.Workspace.Nuke.Blast.Disabled = false
- game.Workspace.Nuke.Main.Script3.Disabled = false
- game.Workspace.Nuke.Main.Script4.Disabled = false
- game.Workspace.Nuke.Main.Transparency = 0.7
- --game.Workspace.Nuke.Glow.Transparency = 0
- wait(2)
- script.NOOO.Play()
- --wait(10)
- script.Parent.CountMusic:stop()
- wait(60)
- script.Parent.Die:play()
- wait(20)
- local m = Instance.new("Message", game.Workspace)
- m.Text = "Core destroyed. Server must restart"
- wait(5)
- m.Text = "Rebuilding in 5..."
- wait(1)
- m.Text = "Rebuilding in 4..."
- wait(1)
- m.Text = "Rebuilding in 3..."
- wait(1)
- m.Text = "Rebuilding in 2..."
- wait(1)
- m.Text = "Rebuilding in 1..."
- wait(1)
- m.Text = "A new server has been made! Thanks for playing! Come back often!"
- for _,v in pairs(game.Players:GetPlayers()) do
- v:Remove()
- end
- end))
- Script59.Name = "Detonate"
- Script59.Parent = Script58
- Script59.Disabled = true
- table.insert(cors,sandbox(Script59,function()
- local m = Instance.new("Hint", game.Workspace)
- m.Text = "! 10 !"
- wait(1)
- m.Text = " 9 "
- wait(1)
- m.Text = "! 8 !"
- wait(1)
- m.Text = " 7 "
- wait(1)
- m.Text = "! 6 !"
- wait(1)
- m.Text = " 5 "
- wait(1)
- m.Text = "! 4 !"
- wait(1)
- m.Text = " 3 "
- wait(1)
- m.Text = "! 2 !"
- wait(1)
- m.Text = " 1 "
- wait(1)
- m.Text = "! DESTROY !"
- wait(1.6)
- m:remove()
- end))
- Sound60.Name = "OMGYES"
- Sound60.Parent = Script58
- Sound60.SoundId = "http://www.roblox.com/asset/?id=173555731"
- Sound60.Volume = 1
- Script61.Name = "about2die"
- Script61.Parent = Script58
- Script61.Disabled = true
- table.insert(cors,sandbox(Script61,function()
- local die = Instance.new("Hint", game.Workspace)
- die.Name = "ABOUT2DIE"
- while true do
- die.Text = " ABOUT2DIE "
- wait(0.1)
- die.Text = "! ABOUT2DIE !"
- wait(0.1)
- die.Text = "!! ABOUT2DIE !!"
- wait(0.1)
- die.Text = "!!! ABOUT2DIE !!!"
- wait(0.1)
- die.Text = "!!!! ABOUT2DIE !!!!"
- wait(0.1)
- die.Text = "!!!!! ABOUT2DIE !!!!!"
- wait(0.1)
- die.Text = "!!!! ABOUT2DIE !!!!"
- wait(0.1)
- die.Text = "!!! ABOUT2DIE !!!"
- wait(0.1)
- die.Text = "!! ABOUT2DIE !!"
- wait(0.1)
- die.Text = "! ABOUT2DIE !"
- wait(0.1)
- end
- end))
- Sound62.Name = "NOOO"
- Sound62.Parent = Script58
- Sound62.SoundId = "http://www.roblox.com/asset/?id=133507013"
- Sound62.Volume = 1
- Script63.Name = "Start"
- Script63.Parent = Script45
- table.insert(cors,sandbox(Script63,function()
- while true do
- wait(5)
- if game.Workspace.Temp.Current.Value > 1300 then
- game.Workspace.Gate.Disabled = false
- end
- end
- end))
- Sound64.Name = "Alarmy"
- Sound64.Parent = Script45
- Sound64.SoundId = "http://www.roblox.com/asset/?id=154306487"
- Sound64.Volume = 0.60000002384186
- Sound64.Looped = true
- Script65.Name = "ReverseAlarm"
- Script65.Parent = Script45
- Script65.Disabled = true
- table.insert(cors,sandbox(Script65,function()
- while true do
- wait(1)
- local WarningLights ={}for i,v in pairs(workspace:GetChildren())do if v.Name=="WarningLight"then table.insert(WarningLights,v)end end
- for i,WarningLight in pairs(WarningLights)do
- WarningLight.Toggle.Value = true
- end
- end
- end))
- Script66.Name = "Alarms"
- Script66.Parent = Script45
- table.insert(cors,sandbox(Script66,function()
- while true do
- wait(1)
- if game.Workspace.Temp.Current.Value > 700 then
- local WarningLights ={}for i,v in pairs(workspace:GetChildren())do if v.Name=="WarningLight"then table.insert(WarningLights,v)end end
- for i,WarningLight in pairs(WarningLights)do
- WarningLight.Toggle.Value = true
- end
- end
- end
- end))
- Script67.Name = "Shake2"
- Script67.Parent = Script45
- Script67.Disabled = true
- table.insert(cors,sandbox(Script67,function()
- local childList = { }
- function checkObject(obj)
- if (obj.className == "Part") then
- if (obj.Locked == false) then
- table.insert(childList, 1, obj)
- end
- elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
- local child = obj:GetChildren()
- for x = 1, #child do
- checkObject(child[x])
- end
- obj.ChildAdded:connect(checkObject)
- end
- end
- checkObject(game.Workspace)
- local n = 0
- while true do
- wait(.001)
- if n < #childList then
- n = n + 1
- if n % 800 == 0 then
- wait()
- end
- else
- n = 1
- wait()
- end
- local p = math.random(n)
- local child = childList[p]
- child.Anchored = false
- child:BreakJoints()
- table.remove(childList, p)
- end
- end))
- Sound68.Name = "MUCHBIG"
- Sound68.Parent = Script45
- Sound68.SoundId = "http://www.roblox.com/asset/?id=131026234"
- Sound68.Volume = 1
- Sound68.PlayOnRemove = true
- Sound69.Name = "TenToZero"
- Sound69.Parent = Script45
- Sound69.SoundId = "http://www.roblox.com/asset/?id=131018898"
- Sound69.Volume = 1
- Sound70.Name = "Explosion01"
- Sound70.Parent = Script45
- Sound70.SoundId = "http://www.roblox.com/asset/?id=138210320"
- Sound70.Volume = 1
- Sound71.Name = "Explosion02"
- Sound71.Parent = Script45
- Sound71.SoundId = "http://www.roblox.com/asset/?id=138104921"
- Sound71.Volume = 1
- Sound72.Name = "Explosion03"
- Sound72.Parent = Script45
- Sound72.SoundId = "http://www.roblox.com/asset/?id=133680244"
- Sound72.Volume = 1
- Sound73.Name = "CountMusic"
- Sound73.Parent = Script45
- Sound73.SoundId = "http://www.roblox.com/asset/?id=134002644"
- Sound73.Volume = 0.30000001192093
- Sound73.Looped = true
- Sound74.Name = "Die"
- Sound74.Parent = Script45
- Sound74.SoundId = "http://www.roblox.com/asset/?id=142288053"
- Sound74.Volume = 1
- Sound75.Name = "Spy"
- Sound75.Parent = Script45
- Sound75.SoundId = "http://www.roblox.com/asset/?id=144107944"
- Sound75.Volume = 1
- Sound76.Name = "Music1337"
- Sound76.Parent = Script45
- Sound76.SoundId = "http://www.roblox.com/asset/?id=142402582"
- Sound76.Volume = 1
- Sound76.Looped = true
- Script77.Name = "Serverlite"
- Script77.Parent = Script45
- Script77.Disabled = true
- table.insert(cors,sandbox(Script77,function()
- local tab = {}
- function GetAllDL(ta, p)
- for _, d in pairs(p:GetChildren()) do
- if d:IsA("SpotLight") or d:IsA("PointLight") then
- table.insert(ta,d)
- elseif d:IsA("BasePart") or d:IsA("Model") then
- GetAllDL(ta,d)
- end
- end
- end
- GetAllDL(tab,Workspace)
- wait(2)
- for _, g in pairs(tab) do
- if g ~= nil then
- g.Color = Color3.new(255,0,0)
- g.Parent.BrickColor = BrickColor.new("Bright red")
- end
- end
- end))
- Sound78.Name = "Music1338"
- Sound78.Parent = Script45
- Sound78.SoundId = "http://www.roblox.com/asset/?id=142367679"
- Sound78.Volume = 1
- Sound78.Looped = true
- Sound79.Name = "End"
- Sound79.Parent = Script45
- Sound79.SoundId = "http://www.roblox.com/asset/?id=143492438"
- Sound79.Volume = 1
- Script80.Name = "Shake"
- Script80.Parent = Script45
- Script80.Disabled = true
- table.insert(cors,sandbox(Script80,function()
- local childList = { }
- function checkObject(obj)
- if (obj.className == "Part") then
- if (obj.Locked == false) then
- table.insert(childList, 1, obj)
- end
- elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
- local child = obj:GetChildren()
- for x = 1, #child do
- checkObject(child[x])
- end
- obj.ChildAdded:connect(checkObject)
- end
- end
- checkObject(game.Workspace)
- local n = 0
- while true do
- wait(.1)
- if n < #childList then
- n = n + 1
- if n % 800 == 0 then
- wait()
- end
- else
- n = 1
- wait()
- end
- local p = math.random(n)
- local child = childList[p]
- child.Anchored = false
- child:BreakJoints()
- table.remove(childList, p)
- end
- end))
- Script81.Name = "Start3"
- Script81.Parent = Script45
- table.insert(cors,sandbox(Script81,function()
- while true do
- wait(5)
- if game.Workspace.Temp.Current.Value > 1200 then
- script.Parent.Spy:play()
- wait(2)
- script:remove()
- end
- end
- end))
- Sound82.Name = "Epic"
- Sound82.Parent = Script45
- Sound82.SoundId = "http://www.roblox.com/asset/?id=163669862"
- Sound82.Volume = 1
- Sound82.Looped = true
- Sound83.Name = "warn2"
- Sound83.Parent = Script45
- Sound83.SoundId = "http://www.roblox.com/asset/?id=132505666"
- Sound83.Volume = 0.60000002384186
- Sound84.Name = "warn1"
- Sound84.Parent = Script45
- Sound84.SoundId = "http://www.roblox.com/asset/?id=132506361"
- Sound84.Volume = 0.60000002384186
- Model85.Name = "Self Destruct"
- Model85.Parent = Model44
- Humanoid86.Parent = Model85
- Humanoid86.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid86.Health = 0
- Humanoid86.MaxHealth = 0
- Part87.Parent = Model85
- Part87.Reflectance = 0.5
- Part87.Rotation = Vector3.new(-0.129999995, 0, 0)
- Part87.Anchored = true
- Part87.Size = Vector3.new(5, 1.20000005, 5)
- Part87.CFrame = CFrame.new(19.3236237, 0.605638027, 43.7187958, 1, 1.36532453e-05, 5.58632237e-05, -1.37780007e-05, 0.99999845, 0.00223293202, -5.5832621e-05, -0.00223290222, 0.99999845)
- Part87.Position = Vector3.new(19.3236237, 0.605638027, 43.7187958)
- Part87.Orientation = Vector3.new(-0.129999995, 0, 0)
- CylinderMesh88.Parent = Part87
- Part89.Name = "Head"
- Part89.Parent = Model85
- Part89.BrickColor = BrickColor.new("Really red")
- Part89.Rotation = Vector3.new(-0.129999995, 0, 0)
- Part89.Anchored = true
- Part89.Size = Vector3.new(5, 1.20000005, 5)
- Part89.CFrame = CFrame.new(19.3236389, 1.805709, 43.7161102, 1, 1.36532453e-05, 5.58632237e-05, -1.37780007e-05, 0.99999845, 0.00223293202, -5.5832621e-05, -0.00223290222, 0.99999845)
- Part89.Color = Color3.new(1, 0, 0)
- Part89.Position = Vector3.new(19.3236389, 1.805709, 43.7161102)
- Part89.Orientation = Vector3.new(-0.129999995, 0, 0)
- Part89.Color = Color3.new(1, 0, 0)
- CylinderMesh90.Parent = Part89
- CylinderMesh90.Scale = Vector3.new(0.75, 1, 0.75)
- CylinderMesh90.Scale = Vector3.new(0.75, 1, 0.75)
- Script91.Parent = Part89
- table.insert(cors,sandbox(Script91,function()
- function onClicked()
- script.Parent.Parent.Parent.Gate.Disabled = false
- end
- script.Parent.ClickDetector.MouseClick:connect(onClicked)
- end))
- ClickDetector92.Parent = Part89
- Part93.Name = "lockdowndoor2"
- Part93.Parent = Model1
- Part93.BrickColor = BrickColor.new("Dark stone grey")
- Part93.Reflectance = 0.20000000298023
- Part93.Rotation = Vector3.new(0, 90, 0)
- Part93.Anchored = true
- Part93.FormFactor = Enum.FormFactor.Custom
- Part93.Size = Vector3.new(34, 23, 2)
- Part93.CFrame = CFrame.new(5.54807997, 34.5103302, 69.5016708, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part93.BackSurface = Enum.SurfaceType.Studs
- Part93.BottomSurface = Enum.SurfaceType.Smooth
- Part93.FrontSurface = Enum.SurfaceType.Inlet
- Part93.TopSurface = Enum.SurfaceType.Smooth
- Part93.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part93.Position = Vector3.new(5.54807997, 34.5103302, 69.5016708)
- Part93.Orientation = Vector3.new(0, 90, 0)
- Part93.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh94.Parent = Part93
- BlockMesh94.Scale = Vector3.new(1, 1, 0.5)
- BlockMesh94.Scale = Vector3.new(1, 1, 0.5)
- Script95.Parent = Part93
- table.insert(cors,sandbox(Script95,function()
- Speed = .2
- Running = false
- if script.Parent.Active.Value == false then
- script.Parent.Active.Value = true
- if Running == true then return end
- Running = true
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,-.2*Speed,0)
- wait()
- end
- else
- script.Parent.Active.Value = false
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,.2*Speed,0)
- wait()
- end
- Running = false
- end
- end))
- BoolValue96.Name = "Active"
- BoolValue96.Parent = Part93
- BoolValue96.Value = true
- Decal97.Parent = Part93
- Decal97.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal98.Parent = Part93
- Decal98.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal98.Face = Enum.NormalId.Back
- Model99.Name = "WarningLight"
- Model99.Parent = Model1
- Part100.Name = "Base"
- Part100.Parent = Model99
- Part100.BrickColor = BrickColor.new("Dark stone grey")
- Part100.Rotation = Vector3.new(0, 0.789999962, 0)
- Part100.Anchored = true
- Part100.FormFactor = Enum.FormFactor.Custom
- Part100.Size = Vector3.new(1.60000002, 0.400000006, 1.60000002)
- Part100.CFrame = CFrame.new(21.6899872, 0.200021997, 47.6817398, 0.999903858, 0, 0.0138659775, 0, 1, 0, -0.0138660176, 0, 0.999903858)
- Part100.BottomSurface = Enum.SurfaceType.Smooth
- Part100.TopSurface = Enum.SurfaceType.Smooth
- Part100.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part100.Position = Vector3.new(21.6899872, 0.200021997, 47.6817398)
- Part100.Orientation = Vector3.new(0, 0.789999962, 0)
- Part100.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh101.Parent = Part100
- Part102.Name = "Bulb"
- Part102.Parent = Model99
- Part102.BrickColor = BrickColor.new("Really red")
- Part102.Reflectance = 0.20000000298023
- Part102.Transparency = 0.5
- Part102.Rotation = Vector3.new(0, 0.789999962, 0)
- Part102.Anchored = true
- Part102.FormFactor = Enum.FormFactor.Custom
- Part102.Size = Vector3.new(1.20000005, 1.4000001, 1.20000005)
- Part102.CFrame = CFrame.new(21.6899872, 0.700022995, 47.6817474, 0.999903858, 0, 0.0138659775, 0, 1, 0, -0.0138660176, 0, 0.999903858)
- Part102.BottomSurface = Enum.SurfaceType.Smooth
- Part102.TopSurface = Enum.SurfaceType.Smooth
- Part102.Color = Color3.new(1, 0, 0)
- Part102.Position = Vector3.new(21.6899872, 0.700022995, 47.6817474)
- Part102.Orientation = Vector3.new(0, 0.789999962, 0)
- Part102.Color = Color3.new(1, 0, 0)
- SpecialMesh103.Parent = Part102
- Part104.Name = "Part1"
- Part104.Parent = Model99
- Part104.BrickColor = BrickColor.new("Really red")
- Part104.Reflectance = 0.40000000596046
- Part104.Rotation = Vector3.new(0, 0.789999962, 90)
- Part104.Anchored = true
- Part104.FormFactor = Enum.FormFactor.Custom
- Part104.Size = Vector3.new(0.800000012, 0.800000012, 0.200000003)
- Part104.CFrame = CFrame.new(21.6885986, 0.800004005, 47.5817413, 0, -0.999903858, 0.0138659775, 1, 0, 0, 0, 0.0138660176, 0.999903858)
- Part104.BottomSurface = Enum.SurfaceType.Smooth
- Part104.TopSurface = Enum.SurfaceType.Smooth
- Part104.Color = Color3.new(1, 0, 0)
- Part104.Position = Vector3.new(21.6885986, 0.800004005, 47.5817413)
- Part104.Orientation = Vector3.new(0, 0.789999962, 90)
- Part104.Color = Color3.new(1, 0, 0)
- SpotLight105.Parent = Part104
- SpotLight105.Color = Color3.new(1, 0, 0)
- SpotLight105.Brightness = 4
- SpotLight105.Range = 30
- SpotLight105.Color = Color3.new(1, 0, 0)
- Part106.Name = "Part2"
- Part106.Parent = Model99
- Part106.BrickColor = BrickColor.new("Really red")
- Part106.Reflectance = 0.40000000596046
- Part106.Rotation = Vector3.new(-180, -0.789999962, 90)
- Part106.Anchored = true
- Part106.FormFactor = Enum.FormFactor.Custom
- Part106.Size = Vector3.new(0.800000012, 0.800000012, 0.200000003)
- Part106.CFrame = CFrame.new(21.6913605, 0.800004005, 47.7817307, 0, -0.999903858, -0.0138659775, -1, 0, 0, 0, 0.0138660176, -0.999903858)
- Part106.BottomSurface = Enum.SurfaceType.Smooth
- Part106.TopSurface = Enum.SurfaceType.Smooth
- Part106.Color = Color3.new(1, 0, 0)
- Part106.Position = Vector3.new(21.6913605, 0.800004005, 47.7817307)
- Part106.Orientation = Vector3.new(0, -179.209991, -90)
- Part106.Color = Color3.new(1, 0, 0)
- SpotLight107.Parent = Part106
- SpotLight107.Color = Color3.new(1, 0, 0)
- SpotLight107.Brightness = 4
- SpotLight107.Range = 30
- SpotLight107.Color = Color3.new(1, 0, 0)
- BoolValue108.Name = "Toggle"
- BoolValue108.Parent = Model99
- Script109.Parent = Model99
- table.insert(cors,sandbox(Script109,function()
- --Stickmasterluke
- sp=script.Parent
- bulb=sp:WaitForChild("Bulb")
- part1=sp:WaitForChild("Part1")
- light1=part1:WaitForChild("SpotLight")
- part2=sp:WaitForChild("Part2")
- light2=part2:WaitForChild("SpotLight")
- toggle=sp:WaitForChild("Toggle")
- function updatetoggle()
- bulb.BrickColor=(toggle.Value and BrickColor.new("Really red")) or BrickColor.new("Mid gray")
- light1.Enabled=toggle.Value
- light2.Enabled=toggle.Value
- end
- toggle.Changed:connect(updatetoggle)
- updatetoggle()
- rate=1/30
- rps=1
- currentrotation=math.random()
- while true do
- wait(.1)
- while toggle.Value do
- wait(rate)
- currentrotation=currentrotation+(rps*rate)
- part1.CFrame=((bulb.CFrame*CFrame.Angles(0,math.pi*2*currentrotation,0))*CFrame.Angles(0,0,math.pi*.5))*CFrame.new(0,0,part1.Size.z*.5)
- part2.CFrame=((bulb.CFrame*CFrame.Angles(0,math.pi*2*(currentrotation+.5),0))*CFrame.Angles(0,0,math.pi*.5))*CFrame.new(0,0,part2.Size.z*.5)
- end
- end
- end))
- Model110.Name = "Nuke"
- Model110.Parent = Model1
- Part111.Name = "Main"
- Part111.Parent = Model110
- Part111.BrickColor = BrickColor.new("Bright yellow")
- Part111.Transparency = 1
- Part111.Rotation = Vector3.new(164.869995, 0, 180)
- Part111.Anchored = true
- Part111.FormFactor = Enum.FormFactor.Symmetric
- Part111.Shape = Enum.PartType.Ball
- Part111.Size = Vector3.new(1, 1, 1)
- Part111.CFrame = CFrame.new(19.0800018, 1.89085996, 47.418129, -1, -3.88290999e-09, -4.05711909e-08, 6.87041624e-09, 0.965347111, -0.260973543, 4.01444957e-08, -0.260973543, -0.965347111)
- Part111.BottomSurface = Enum.SurfaceType.Smooth
- Part111.TopSurface = Enum.SurfaceType.Smooth
- Part111.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part111.Position = Vector3.new(19.0800018, 1.89085996, 47.418129)
- Part111.Orientation = Vector3.new(15.1300001, -180, 0)
- Part111.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Weld112.Parent = Part111
- Script113.Name = "Script3"
- Script113.Parent = Part111
- Script113.Disabled = true
- table.insert(cors,sandbox(Script113,function()
- while true do
- c = game.Workspace:GetChildren()
- for i =1,#c do
- if ((c[i].className == "Part" or c[i].className == "TrussPart" or c[i].className == "WedgePart" or c[i].className == "Seat" or c[i].className == "VehicleSeat") and (c[i].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
- c[i].Material = Enum.Material.CorrodedMetal
- c[i].Anchored = false
- c[i]:BreakJoints()
- end
- if (c[i].className == "Model") then
- end
- g = c[i]:GetChildren()
- for j =1,#g do
- if ((g[j].className == "Part" or g[j].className == "TrussPart" or g[j].className == "WedgePart" or g[j].className == "Seat" or g[j].className == "VehicleSeat") and g[j].Name ~= script.Parent.Name and g[j].Name ~= "Glow" and (g[j].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
- g[j].Material = Enum.Material.CorrodedMetal
- g[j].Anchored = false
- g[j]:BreakJoints()
- end
- if (g[j].className == "Model") then
- end
- t = g[j]:GetChildren()
- for s =1,#t do
- if ((t[s].className == "Part" or t[s].className == "TrussPart" or t[s].className == "WedgePart" or t[s].className == "Seat" or t[s].className == "VehicleSeat") and t[s].Name ~= script.Parent.Name and t[s].Name ~= "Glow" and (t[s].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
- t[s].Material = Enum.Material.CorrodedMetal
- t[s].Anchored = false
- t[s]:BreakJoints()
- end
- if (t[s].className == "Model") then
- end
- a = t[s]:GetChildren()
- for z =1,#a do
- if ((a[z].className == "Part" or a[z].className == "TrussPart" or a[z].className == "WedgePart" or a[z].className == "Seat" or a[z].className == "VehicleSeat") and a[z].Name ~= script.Parent.Name and a[z].Name ~= "Glow" and (a[z].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
- a[z].Material = Enum.Material.CorrodedMetal
- a[z].Anchored = false
- a[z]:BreakJoints()
- end
- if (a[z].className == "Model") then
- end
- p = a[z]:GetChildren()
- for l =1,#p do
- if ((p[l].className == "Part" or p[l].className == "TrussPart" or p[l].className == "WedgePart" or p[l].className == "Seat" or p[l].className == "VehicleSeat") and p[l].Name ~= script.Parent.Name and p[l].Name ~= "Glow" and (p[l].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
- p[l].Material = Enum.Material.CorrodedMetal
- p[l].Anchored = false
- p[l]:BreakJoints()
- end
- end
- end
- end
- end
- end
- wait(.3)
- end
- end))
- Script114.Name = "Script4"
- Script114.Parent = Part111
- Script114.Disabled = true
- table.insert(cors,sandbox(Script114,function()
- while true do
- c = game.Workspace:GetChildren()
- for i =1,#c do
- if (c[i].className == "Model") then
- end
- g = c[i]:GetChildren()
- for j =1,#g do
- if (g[j].className == "Humanoid" and g[j].Parent:FindFirstChild("Torso") and g[j].Parent:FindFirstChild("ForceField") == nil) then
- if ((g[j].Parent.Torso.Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
- g[j].Parent:BreakJoints()
- end end
- if (g[j].className == "Part" and g[j].Parent:FindFirstChild("Torso") and g[j].Parent:FindFirstChild("ForceField") == nil) then
- if ((g[j].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
- g[j].Material = Enum.Material.CorrodedMetal
- g[j].Anchored = false
- g[j]:BreakJoints()
- end end
- t = g[j]:GetChildren()
- for s =1,#t do
- if ((t[s].className == "Part" or t[s].className == "TrussPart" or t[s].className == "WedgePart" or t[s].className == "Seat" or t[s].className == "VehicleSeat") and t[s].Locked == false and t[s].Name ~= script.Parent.Name and t[s].Name ~= "Glow" and (t[s].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
- t[s].Material = Enum.Material.CorrodedMetal
- t[s].Anchored = false
- t[s]:BreakJoints()
- end
- if (t[s].className == "Model") then
- end
- a = t[s]:GetChildren()
- for z =1,#a do
- if ((a[z].className == "Part" or a[z].className == "TrussPart" or a[z].className == "WedgePart" or a[z].className == "Seat" or a[z].className == "VehicleSeat") and a[z].Locked == false and a[z].Name ~= script.Parent.Name and a[z].Name ~= "Glow" and (a[z].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
- a[z].Material = Enum.Material.CorrodedMetal
- a[z].Anchored = false
- a[z]:BreakJoints()
- end
- if (a[z].className == "Model") then
- end
- end
- end
- end
- end
- wait(.3)
- end
- end))
- SpecialMesh115.Parent = Part111
- SpecialMesh115.Scale = Vector3.new(0, 0, 0)
- SpecialMesh115.MeshType = Enum.MeshType.Sphere
- SpecialMesh115.Scale = Vector3.new(0, 0, 0)
- Part116.Name = "Glow"
- Part116.Parent = Model110
- Part116.BrickColor = BrickColor.new("Neon orange")
- Part116.Transparency = 1
- Part116.Rotation = Vector3.new(164.869995, 0, 180)
- Part116.RotVelocity = Vector3.new(4.25556566e-17, 4.7048353e-19, 0.000739662792)
- Part116.Velocity = Vector3.new(-0.00150882092, -0.0143409707, 8.56878382e-17)
- Part116.Anchored = true
- Part116.FormFactor = Enum.FormFactor.Custom
- Part116.Size = Vector3.new(0.200000003, 1.20000005, 0.200000003)
- Part116.CFrame = CFrame.new(15.6800537, 3.53987288, 47.3865967, -1, -3.88290999e-09, -4.05711909e-08, 6.87041624e-09, 0.965347111, -0.260973543, 4.01444957e-08, -0.260973543, -0.965347111)
- Part116.BottomSurface = Enum.SurfaceType.Smooth
- Part116.TopSurface = Enum.SurfaceType.Smooth
- Part116.Color = Color3.new(0.835294, 0.45098, 0.239216)
- Part116.Position = Vector3.new(15.6800537, 3.53987288, 47.3865967)
- Part116.Orientation = Vector3.new(15.1300001, -180, 0)
- Part116.Color = Color3.new(0.835294, 0.45098, 0.239216)
- SpecialMesh117.Parent = Part116
- SpecialMesh117.Scale = Vector3.new(4, 1, 4)
- SpecialMesh117.MeshType = Enum.MeshType.Brick
- SpecialMesh117.Scale = Vector3.new(4, 1, 4)
- NumberValue118.Name = "Size"
- NumberValue118.Parent = Model110
- NumberValue118.Value = 2.9
- NumberValue119.Name = "NukeSize"
- NumberValue119.Parent = Model110
- NumberValue119.Value = 1e+23
- Script120.Name = "Blast"
- Script120.Parent = Model110
- Script120.Disabled = true
- table.insert(cors,sandbox(Script120,function()
- for i = 1, script.Parent.NukeSize.Value do --How big it's gonna be! O.o
- script.Parent.Glow.Mesh.Scale = script.Parent.Glow.Mesh.Scale + Vector3.new(1, 0, 1)
- script.Parent.Main.Mesh.Scale = script.Parent.Main.Mesh.Scale + Vector3.new(1, 1, 1)
- script.Parent.Size.Value = script.Parent.Size.Value +2
- wait()
- end
- for i =1, 6 do
- wait(2)
- script.Parent.Main.Transparency = script.Parent.Main.Transparency +1
- end
- wait(2)
- script.Parent.Parent:Remove()
- end))
- Sound121.Name = "music"
- Sound121.Parent = Model110
- Sound121.SoundId = "http://www.roblox.com/asset/?id=130768997"
- Sound121.Volume = 1
- Part122.Name = "lockdowndoor3"
- Part122.Parent = Model1
- Part122.BrickColor = BrickColor.new("Dark stone grey")
- Part122.Reflectance = 0.20000000298023
- Part122.Rotation = Vector3.new(0, 90, 0)
- Part122.Anchored = true
- Part122.FormFactor = Enum.FormFactor.Custom
- Part122.Size = Vector3.new(34, 23, 2)
- Part122.CFrame = CFrame.new(5.54807997, 57.5103874, 69.5016708, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- Part122.BackSurface = Enum.SurfaceType.Studs
- Part122.BottomSurface = Enum.SurfaceType.Smooth
- Part122.FrontSurface = Enum.SurfaceType.Inlet
- Part122.TopSurface = Enum.SurfaceType.Smooth
- Part122.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part122.Position = Vector3.new(5.54807997, 57.5103874, 69.5016708)
- Part122.Orientation = Vector3.new(0, 90, 0)
- Part122.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh123.Parent = Part122
- BlockMesh123.Scale = Vector3.new(1, 1, 0.5)
- BlockMesh123.Scale = Vector3.new(1, 1, 0.5)
- Script124.Parent = Part122
- table.insert(cors,sandbox(Script124,function()
- Speed = .2
- Running = false
- if script.Parent.Active.Value == false then
- script.Parent.Active.Value = true
- if Running == true then return end
- Running = true
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,-.2*Speed,0)
- wait()
- end
- else
- script.Parent.Active.Value = false
- for i=1,script.Parent.Size.x/Speed*3.4+1 do
- script.Parent.CFrame = script.Parent.CFrame*CFrame.new(0,.2*Speed,0)
- wait()
- end
- Running = false
- end
- end))
- BoolValue125.Name = "Active"
- BoolValue125.Parent = Part122
- BoolValue125.Value = true
- Decal126.Parent = Part122
- Decal126.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal127.Parent = Part122
- Decal127.Texture = "http://www.roblox.com/asset/?id=185840964"
- Decal127.Face = Enum.NormalId.Back
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement