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"))
- Model0 = Instance.new("Model")
- Model1 = Instance.new("Model")
- Part2 = Instance.new("Part")
- Weld3 = Instance.new("Weld")
- Script4 = Instance.new("Script")
- Script5 = Instance.new("Script")
- SpecialMesh6 = Instance.new("SpecialMesh")
- Part7 = Instance.new("Part")
- SpecialMesh8 = Instance.new("SpecialMesh")
- NumberValue9 = Instance.new("NumberValue")
- NumberValue10 = Instance.new("NumberValue")
- Script11 = Instance.new("Script")
- Sound12 = Instance.new("Sound")
- Model13 = Instance.new("Model")
- Script14 = Instance.new("Script")
- Sound15 = Instance.new("Sound")
- Sound16 = Instance.new("Sound")
- Sound17 = Instance.new("Sound")
- Sound18 = Instance.new("Sound")
- Sound19 = Instance.new("Sound")
- Sound20 = Instance.new("Sound")
- Sound21 = Instance.new("Sound")
- Sound22 = Instance.new("Sound")
- Sound23 = Instance.new("Sound")
- Sound24 = Instance.new("Sound")
- Sound25 = Instance.new("Sound")
- Script26 = Instance.new("Script")
- Script27 = Instance.new("Script")
- Script28 = Instance.new("Script")
- Sound29 = Instance.new("Sound")
- Script30 = Instance.new("Script")
- Sound31 = Instance.new("Sound")
- Script32 = Instance.new("Script")
- Sound33 = Instance.new("Sound")
- Script34 = Instance.new("Script")
- Script35 = Instance.new("Script")
- Script36 = Instance.new("Script")
- Sound37 = Instance.new("Sound")
- Sound38 = Instance.new("Sound")
- Sound39 = Instance.new("Sound")
- Sound40 = Instance.new("Sound")
- Sound41 = Instance.new("Sound")
- Sound42 = Instance.new("Sound")
- Sound43 = Instance.new("Sound")
- Sound44 = Instance.new("Sound")
- Sound45 = Instance.new("Sound")
- Script46 = Instance.new("Script")
- Sound47 = Instance.new("Sound")
- Sound48 = Instance.new("Sound")
- Script49 = Instance.new("Script")
- Script50 = Instance.new("Script")
- Sound51 = Instance.new("Sound")
- Sound52 = Instance.new("Sound")
- Sound53 = Instance.new("Sound")
- Script54 = Instance.new("Script")
- Model55 = Instance.new("Model")
- Humanoid56 = Instance.new("Humanoid")
- Part57 = Instance.new("Part")
- CylinderMesh58 = Instance.new("CylinderMesh")
- Snap59 = Instance.new("Snap")
- Part60 = Instance.new("Part")
- CylinderMesh61 = Instance.new("CylinderMesh")
- Script62 = Instance.new("Script")
- ClickDetector63 = Instance.new("ClickDetector")
- Model0.Name = "PBCC Self Destruct By:DutchBaller"
- Model0.Parent = mas
- Model1.Name = "Nuke"
- Model1.Parent = Model0
- Part2.Name = "Main"
- Part2.Parent = Model1
- Part2.CFrame = CFrame.new(1.610008, 0.500033975, 0.670883, -1, -3.88290999e-09, -4.05711909e-08, 6.87041624e-09, 0.965347111, -0.260973543, 4.01444957e-08, -0.260973543, -0.965347111)
- Part2.Orientation = Vector3.new(15.1300001, -180, 0)
- Part2.Position = Vector3.new(1.610008, 0.500033975, 0.670883)
- Part2.Rotation = Vector3.new(164.869995, 0, 180)
- Part2.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part2.Transparency = 1
- Part2.Size = Vector3.new(1, 1, 1)
- Part2.Anchored = true
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.BrickColor = BrickColor.new("Bright yellow")
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.brickColor = BrickColor.new("Bright yellow")
- Part2.FormFactor = Enum.FormFactor.Symmetric
- Part2.formFactor = Enum.FormFactor.Symmetric
- Part2.Shape = Enum.PartType.Ball
- Weld3.Parent = Part2
- Script4.Name = "Script3"
- Script4.Parent = Part2
- table.insert(cors,sandbox(Script4,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
- local 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))
- Script4.Disabled = true
- Script5.Name = "Script4"
- Script5.Parent = Part2
- table.insert(cors,sandbox(Script5,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))
- Script5.Disabled = true
- SpecialMesh6.Parent = Part2
- SpecialMesh6.Scale = Vector3.new(0, 0, 0)
- SpecialMesh6.MeshType = Enum.MeshType.Sphere
- Part7.Name = "Glow"
- Part7.Parent = Model1
- Part7.CFrame = CFrame.new(-1.78995502, 2.14905691, 0.639145017, -1, -3.88290999e-09, -4.05711909e-08, 6.87041624e-09, 0.965347111, -0.260973543, 4.01444957e-08, -0.260973543, -0.965347111)
- Part7.Orientation = Vector3.new(15.1300001, -180, 0)
- Part7.Position = Vector3.new(-1.78995502, 2.14905691, 0.639145017)
- Part7.Rotation = Vector3.new(164.869995, 0, 180)
- Part7.Color = Color3.new(0.835294, 0.45098, 0.239216)
- Part7.Transparency = 1
- Part7.Velocity = Vector3.new(-0.00150882092, -0.0143409707, 8.56878382e-17)
- Part7.Size = Vector3.new(0.200000003, 1.20000005, 0.200000003)
- Part7.Anchored = true
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.BrickColor = BrickColor.new("Neon orange")
- Part7.RotVelocity = Vector3.new(4.25556566e-17, 4.7048353e-19, 0.000739662792)
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.brickColor = BrickColor.new("Neon orange")
- Part7.FormFactor = Enum.FormFactor.Custom
- Part7.formFactor = Enum.FormFactor.Custom
- SpecialMesh8.Parent = Part7
- SpecialMesh8.Scale = Vector3.new(4, 1, 4)
- SpecialMesh8.MeshType = Enum.MeshType.Brick
- NumberValue9.Name = "Size"
- NumberValue9.Parent = Model1
- NumberValue9.Value = 2.9
- NumberValue10.Name = "NukeSize"
- NumberValue10.Parent = Model1
- NumberValue10.Value = 1e+23
- Script11.Name = "Blast"
- Script11.Parent = Model1
- table.insert(cors,sandbox(Script11,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))
- Script11.Disabled = true
- Sound12.Name = "music"
- Sound12.Parent = Model1
- Sound12.SoundId = "http://www.roblox.com/asset/?id=130768997"
- Sound12.Volume = 1
- Model13.Name = "selfdestructsystem"
- Model13.Parent = Model0
- Script14.Name = "Gate"
- Script14.Parent = Model13
- table.insert(cors,sandbox(Script14,function()
- local g = Instance.new("Hint",workspace)
- g.Text = "Warning! The self Destruct sequence has been activated!"
- wait(2)
- g:Destroy()
- script.Serverlite.Disabled = false
- script.ReverseAlarm.Disabled = false
- --script.warn1:Play()
- --wait(19)
- script.music:Play()
- wait(9)
- script.music6:Play()
- local msg = Instance.new("Message")
- msg.Parent = game.Workspace
- msg.Name = 'HelloBrick'
- msg.Text = "Warning: Self Destruct System initiated"
- wait(4)
- msg.Text = "Make Sure To Evac The Facility"
- wait(3.2)
- script.music6:Stop()
- game.Workspace.HelloBrick:remove()
- wait(1)
- script.Countdown.Disabled = false
- end))
- Script14.Disabled = true
- Sound15.Name = "music"
- Sound15.Parent = Script14
- Sound15.SoundId = "http://www.roblox.com/asset/?id=130894143"
- Sound15.Volume = 1
- Sound16.Name = "music1"
- Sound16.Parent = Script14
- Sound16.SoundId = "http://www.roblox.com/asset/?id=130894379"
- Sound16.Volume = 1
- Sound17.Name = "music2"
- Sound17.Parent = Script14
- Sound17.SoundId = "http://www.roblox.com/asset/?id=130886114"
- Sound17.Volume = 1
- Sound18.Name = "music3"
- Sound18.Parent = Script14
- Sound18.SoundId = "http://www.roblox.com/asset/?id=130886089"
- Sound18.Volume = 1
- Sound19.Name = "music4"
- Sound19.Parent = Script14
- Sound19.SoundId = "http://www.roblox.com/asset/?id=130894483"
- Sound19.Volume = 1
- Sound20.Name = "music5"
- Sound20.Parent = Script14
- Sound20.SoundId = "http://www.roblox.com/asset/?id=130895130"
- Sound20.Volume = 1
- Sound21.Name = "music6"
- Sound21.Parent = Script14
- Sound21.Looped = true
- Sound21.SoundId = "http://www.roblox.com/asset/?id=138080226"
- Sound21.Volume = 1
- Sound22.Name = "music7"
- Sound22.Parent = Script14
- Sound22.Looped = true
- Sound22.SoundId = "http://www.roblox.com/asset/?id=141279377"
- Sound22.Volume = 1
- Sound23.Name = "firesound"
- Sound23.Parent = Script14
- Sound23.Looped = true
- Sound23.SoundId = "http://www.roblox.com/asset/?id=31760113"
- Sound23.Volume = 0.10000000149012
- Sound24.Name = "explosiondistant"
- Sound24.Parent = Script14
- Sound24.Pitch = 0.20000000298023
- Sound24.PlaybackSpeed = 0.20000000298023
- Sound24.SoundId = "http://roblox.com/asset/?id=10209859"
- Sound24.Volume = 1
- Sound25.Name = "explosionbang"
- Sound25.Parent = Script14
- Sound25.PlayOnRemove = true
- Sound25.SoundId = "http://www.roblox.com/asset/?id=2248511"
- Sound25.Volume = 0.30000001192093
- Script26.Name = "Countdown"
- Script26.Parent = Script14
- table.insert(cors,sandbox(Script26,function()
- local Countdown = 1277
- script.Parent.Alarmy:play()
- script.Parent.Epic:Play()
- local Count = Countdown
- local m = Instance.new("Hint", game.Workspace)
- while true do
- if Countdown == 9.99 then
- Countdown = Count
- else
- wait(0.1)
- m.Text = "T-"..Countdown.." to your last charge escape."
- Countdown = Countdown - 1
- if m.Text == "T-0 to your last charge escape." then
- m:remove()
- script.Parent.Voice.Disabled = false
- script.Parent.Explosion01:Play()
- script.Parent.Alarmy:stop()
- end
- end
- end
- end))
- Script26.Disabled = true
- Script27.Name = "Voice"
- Script27.Parent = Script14
- table.insert(cors,sandbox(Script27,function()
- wait(1)
- 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()
- 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(30)
- script.Parent.Die:play()
- wait(20)
- local m = Instance.new("Hint", game.Workspace)
- m.Text = "Sever Terrain Ruined, Reseting... Please Wait.."
- wait(10)
- m.Text = "Sever Reseted. Game Is Shutdown. ~Rejoin City Builders~"
- for _,v in pairs(game.Players:GetPlayers()) do
- v:Remove()
- end
- end))
- Script27.Disabled = true
- Script28.Name = "Detonate"
- Script28.Parent = Script27
- table.insert(cors,sandbox(Script28,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))
- Script28.Disabled = true
- Sound29.Name = "OMGYES"
- Sound29.Parent = Script27
- Sound29.SoundId = "http://www.roblox.com/asset/?id=173555731"
- Sound29.Volume = 1
- Script30.Name = "about2die"
- Script30.Parent = Script27
- table.insert(cors,sandbox(Script30,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)
- end
- end))
- Script30.Disabled = true
- Sound31.Name = "NOOO"
- Sound31.Parent = Script27
- Sound31.SoundId = "http://www.roblox.com/asset/?id=133507013"
- Sound31.Volume = 1
- Script32.Name = "Start"
- Script32.Parent = Script14
- table.insert(cors,sandbox(Script32,function()
- while true do
- wait(5)
- if game.Workspace.Temp.Current.Value > 1300 then
- game.Workspace.Gate.Disabled = false
- end
- end
- end))
- Sound33.Name = "Alarmy"
- Sound33.Parent = Script14
- Sound33.Looped = true
- Sound33.SoundId = "http://www.roblox.com/asset/?id=135587922"
- Sound33.Volume = 0.10000000149012
- Script34.Name = "ReverseAlarm"
- Script34.Parent = Script14
- table.insert(cors,sandbox(Script34,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))
- Script34.Disabled = true
- Script35.Name = "Alarms"
- Script35.Parent = Script14
- table.insert(cors,sandbox(Script35,function()
- while true do
- wait(1)
- if game.Workspace.PBCCSelfDestructByDutchBaller.selfdestructsystem.SelfDestructProtocol.Head.Script > true 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))
- Script36.Name = "Shake2"
- Script36.Parent = Script14
- table.insert(cors,sandbox(Script36,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))
- Script36.Disabled = true
- Sound37.Name = "MUCHBIG"
- Sound37.Parent = Script14
- Sound37.PlayOnRemove = true
- Sound37.SoundId = "http://www.roblox.com/asset/?id=NOPE"
- Sound37.Volume = 1
- Sound38.Name = "TenToZero"
- Sound38.Parent = Script14
- Sound38.SoundId = "http://www.roblox.com/asset/?id=131018898"
- Sound38.Volume = 1
- Sound39.Name = "Explosion01"
- Sound39.Parent = Script14
- Sound39.SoundId = "http://www.roblox.com/asset/?id=138210320"
- Sound39.Volume = 1
- Sound40.Name = "Explosion02"
- Sound40.Parent = Script14
- Sound40.SoundId = "http://www.roblox.com/asset/?id=138104921"
- Sound40.Volume = 1
- Sound41.Name = "Explosion03"
- Sound41.Parent = Script14
- Sound41.SoundId = "http://www.roblox.com/asset/?id=133680244"
- Sound41.Volume = 1
- Sound42.Name = "CountMusic"
- Sound42.Parent = Script14
- Sound42.Looped = true
- Sound42.SoundId = "rbxassetid://646752174"
- Sound42.Volume = 0.30000001192093
- Sound43.Name = "Die"
- Sound43.Parent = Script14
- Sound43.SoundId = "http://www.roblox.com/asset/?id=142288053"
- Sound43.Volume = 1
- Sound44.Name = "Spy"
- Sound44.Parent = Script14
- Sound44.SoundId = "http://www.roblox.com/asset/?id=144107944"
- Sound44.Volume = 1
- Sound45.Name = "Music1337"
- Sound45.Parent = Script14
- Sound45.Looped = true
- Sound45.SoundId = "http://www.roblox.com/asset/?id=142402582"
- Sound45.Volume = 1
- Script46.Name = "Serverlite"
- Script46.Parent = Script14
- table.insert(cors,sandbox(Script46,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))
- Script46.Disabled = true
- Sound47.Name = "Music1338"
- Sound47.Parent = Script14
- Sound47.Looped = true
- Sound47.SoundId = "http://www.roblox.com/asset/?id=142367679"
- Sound47.Volume = 1
- Sound48.Name = "End"
- Sound48.Parent = Script14
- Sound48.SoundId = "http://www.roblox.com/asset/?id=143492438"
- Sound48.Volume = 1
- Script49.Name = "Shake"
- Script49.Parent = Script14
- table.insert(cors,sandbox(Script49,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))
- Script49.Disabled = true
- Script50.Name = "Start3"
- Script50.Parent = Script14
- table.insert(cors,sandbox(Script50,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))
- Sound51.Name = "Epic"
- Sound51.Parent = Script14
- Sound51.Looped = true
- Sound51.SoundId = "http://www.roblox.com/asset/?id=161346099"
- Sound51.Volume = 1
- Sound52.Name = "warn2"
- Sound52.Parent = Script14
- Sound52.SoundId = "http://www.roblox.com/asset/?id=132505666"
- Sound52.Volume = 0.60000002384186
- Sound53.Name = "warn1"
- Sound53.Parent = Script14
- Sound53.SoundId = "http://www.roblox.com/asset/?id=132506361"
- Sound53.Volume = 0.60000002384186
- Script54.Name = "[IMPORTANT] READ ME"
- Script54.Parent = Model13
- table.insert(cors,sandbox(Script54,function()
- --Thanks for taking my self destruct system!
- --Please leave the nuke model in workspace and position it anywhere you want!
- --Do NOT clone the Nuke or it will not work. The WarningLight may be cloned anywhere you want.
- --Only edit the script if you know what you are doing. The scripts are Gate, and the scripts inside Gate.
- --There are some unused sounds you may use. Anyways, thanks for using my self destruct system,
- --and have a nice day!
- end))
- Model55.Name = "{Self Destruct Protocol}"
- Model55.Parent = Model13
- Humanoid56.Parent = Model55
- Humanoid56.Health = 0
- Humanoid56.MaxHealth = 0
- Humanoid56.NameOcclusion = Enum.NameOcclusion.NoOcclusion
- Humanoid56.maxHealth = 0
- Part57.Parent = Model55
- Part57.CFrame = CFrame.new(0.0700000003, 0.814647019, -0.209976003, 1, 3.12245807e-09, 5.32602185e-09, -3.12244808e-09, 1, -1.87474848e-06, -5.32602762e-09, 1.87474848e-06, 1)
- Part57.Position = Vector3.new(0.0700000003, 0.814647019, -0.209976003)
- Part57.Size = Vector3.new(5, 1.20000005, 5)
- Part57.Anchored = true
- Part57.Reflectance = 0.5
- CylinderMesh58.Parent = Part57
- Snap59.Parent = Part57
- Snap59.C0 = CFrame.new(0, 0.600000024, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Snap59.C1 = CFrame.new(0, -0.600102782, 2.23517418e-06, -1, 0, 7.04477302e-18, -7.04477302e-18, 0, 1, 0, 1, 0)
- Snap59.Part0 = Part57
- Snap59.Part1 = Part60
- Snap59.part1 = Part60
- Part60.Name = "Head"
- Part60.Parent = Model55
- Part60.CFrame = CFrame.new(0.0700000003, 2.01475, -0.209976003, 1, 3.12245807e-09, 5.32602185e-09, -3.12244808e-09, 1, -1.87474848e-06, -5.32602762e-09, 1.87474848e-06, 1)
- Part60.Position = Vector3.new(0.0700000003, 2.01475, -0.209976003)
- Part60.Color = Color3.new(1, 0, 0)
- Part60.Size = Vector3.new(5, 1.20000005, 5)
- Part60.Anchored = true
- Part60.BrickColor = BrickColor.new("Really red")
- Part60.brickColor = BrickColor.new("Really red")
- CylinderMesh61.Parent = Part60
- CylinderMesh61.Scale = Vector3.new(0.75, 1, 0.75)
- Script62.Parent = Part60
- table.insert(cors,sandbox(Script62,function()
- local functiononClicked
- script.Parent.Parent.Parent.Gate.Disabled = false
- end
- )
- )
- ClickDetector63.Parent = Part60
- 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