Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Converted using Mokiros's Model to Script plugin
- -- Converted string size: 1825
- local Scripts = { function()
- local a=game.Workspace.scrambutton.button.ClickDetector a.MouseClick:Connect(function()game.Workspace.scrambutton.button.Transparency=1 game.Workspace.scrambutton.button.ClickDetector.MaxActivationDistance=0 game.Workspace.scrambutton.fakebutton.Material=Enum.Material.Neon game.Workspace.scrambutton.Buzzer:Play()game.Workspace.scrambutton.light.Material=Enum.Material.Neon script.Parent.Parent.Gate.Disabled=false end)
- end; function()
- local a=game.Workspace.scrambutton.glass.ClickDetector a.MouseClick:Connect(function()local b=workspace.scrambutton.glass b:Destroy()b.Parent=workspace end)
- end; function()
- script.Safeguards:Play()wait(9)script.Alarmy:Play()script.ReverseAlarm.Disabled=false script.NostomoAlarm:Play()script.Alarm:Play()script.overheating:Play()wait(2)script.Music1:Play()wait(12)script.Alarmy:Stop()script.NostomoAlarm:Stop()script.Alarm:Stop()script.PowerOut.Disabled=false script.alarmdown.Disabled=false script.ReverseAlarm.Disabled=true script.Music1.Ended:Wait()script.Music1:Stop()script.overheating50:Play()wait(5)script.overheating50:Stop()script.Music2:Play()script.FourMin:Play()wait(71)script.Music2:Stop()script.overheating75:Play()wait(8)script.overheating75:Stop()script.Music3:Play()wait(120)script.Music3:Stop()script.overheating100:Play()wait(5)script.overheating100:Stop()script.Music4:Play()script.TwoMin:Play()wait(96)script.Music4:Stop()script.Alarm:Stop()script.NostomoAlarm:Stop()script.DED:Play()wait(90)game.Workspace.scrambutton.Nuke.Blast.Disabled=false game.Workspace.scrambutton.Nuke.Main.Script3.Disabled=false game.Workspace.scrambutton.Nuke.Meltdown.Meltdown.Nuke.Main.Script4.Disabled=false game.Workspace.scrambutton.Nuke.Main.Transparency=0.7 game.Workspace.scrambutton.Nuke.Glow.Transparency=0 a=10 b="SERVER SHUTDOWN."wait(a)print("Shutting Down. . .")game.Players:ClearAllChildren()c=Instance.new("Message")c.Text="WARNING: "..b c.Name="Shutdown time of "..a c.Parent=workspace c=Instance.new("Message")c.Text="WARNING: "..b c.Name="Shutdown time of "..a c.Parent=workspace c=Instance.new("Message")c.Text="WARNING: "..b c.Name="Shutdown time of "..a c.Parent=workspace c=Instance.new("Message")c.Text="WARNING: "..b c.Name="Shutdown time of "..a c.Parent=workspace c=Instance.new("Message")c.Text="WARNING: "..b c.Name="Shutdown time of "..a c.Parent=workspace c=Instance.new("Message")c.Text="WARNING: "..b c.Name="Shutdown time of "..a c.Parent=workspace c=Instance.new("Message")c.Text="WARNING: "..b c.Name="Shutdown time of "..a c.Parent=workspace wait(2)game.Workspace:ClearAllChildren()game.Lighting:ClearAllChildren()game.ReplicatedFirst:ClearAllChildren()game.ReplicatedStorage:ClearAllChildren()game.ServerScriptService:ClearAllChildren()game.ServerStorage:ClearAllChildren()game.StarterGui:ClearAllChildren()game.StarterPack:ClearAllChildren()game.StarterPlayer:ClearAllChildren()game.SoundService:ClearAllChildren()game.TestService:ClearAllChildren()game.Teams:ClearAllChildren()game:ClearAllChildren()
- end; function()
- script.Powerdown:Play()script.Disabled=true game.Lighting.OutdoorAmbient=Color3.new(255,0,0)game.Lighting.Ambient=Color3.new(255,0,0)
- end; function()
- while true do wait(1)local a={}for b,c in pairs(workspace:GetChildren())do if c.Name=="WarningLight"then table.insert(a,c)end end for b,c in pairs(a)do c.Alarm.Script.Disabled=false end end
- end; function()
- while true do wait(1)local a={}for b,c in pairs(workspace:GetChildren())do if c.Name=="WarningLight"then table.insert(a,c)end end for b,c in pairs(a)do c.Alarm.Disable.Disabled=false end end
- end;}local ActualScripts = {}
- function s(var)
- local func = table.remove(Scripts,1)
- setfenv(func,setmetatable({script=var},{
- __index = getfenv(func),
- }))
- table.insert(ActualScripts,coroutine.wrap(func))
- end
- local Decode = function(str,t,props,classes,values,ICList,Model,CurPar,LastIns,split,RemoveAndSplit,InstanceList)
- local tonum,table_remove,inst,parnt,comma,table_foreach = tonumber,table.remove,Instance.new,"Parent",",",
- function(t,f)
- for a,b in pairs(t) do
- f(a,b)
- end
- end
- local Types = {
- Color3 = Color3.new,
- Vector3 = Vector3.new,
- Vector2 = Vector2.new,
- UDim = UDim.new,
- UDim2 = UDim2.new,
- CFrame = CFrame.new,
- Rect = Rect.new,
- NumberRange = NumberRange.new,
- NumberSequence = function(...)
- local a = {...}
- local t = {}
- repeat
- t[#t+1] = NumberSequenceKeypoint.new(table_remove(a,1),table_remove(a,1),table_remove(a,1))
- until #a==0
- return NumberSequence.new(t)
- end,
- ColorSequence = function(...)
- local a = {...}
- local t = {}
- repeat
- t[#t+1] = ColorSequenceKeypoint.new(table_remove(a,1),Color3.new(table_remove(a,1),table_remove(a,1),table_remove(a,1)))
- until #a==0
- return ColorSequence.new(t)
- end,
- number = tonumber,
- boolean = function(a)
- return a=="1"
- end
- }
- split = function(str,sep)
- if not str then return end
- local fields = {}
- local ConcatNext = false
- str:gsub(("([^%s]+)"):format(sep),function(c)
- if ConcatNext == true then
- fields[#fields] = fields[#fields]..sep..c
- ConcatNext = false
- else
- fields[#fields+1] = c
- end
- if c:sub(#c)=="\\" then
- c = fields[#fields]
- fields[#fields] = c:sub(1,#c-1)
- ConcatNext = true
- end
- end)
- return fields
- end
- RemoveAndSplit = function(t)
- return split(table_remove(t,1),comma)
- end
- t = split(str,";")
- props = RemoveAndSplit(t)
- classes = RemoveAndSplit(t)
- values = split(table_remove(t,1),'|')
- ICList = RemoveAndSplit(t)
- InstanceList = {}
- Model = inst"Model"
- CurPar = Model
- table_foreach(t,function(ct,c)
- if c=="n" or c=="p" then
- CurPar = c=="n" and LastIns or CurPar[parnt]
- else
- ct = split(c,"|")
- local class = classes[tonum(table_remove(ct,1))]
- if class=="UnionOperation" then
- LastIns = {Locked="true",Anchored="true",UsePartColor="true"}
- else
- LastIns = inst(class)
- if LastIns:IsA"Script" then
- s(LastIns)
- end
- end
- local function SetProperty(LastIns,p,str,s)
- s = Types[typeof(LastIns[p])]
- LastIns[p] = s and s(unpack(split(str,comma))) or str
- end
- local UnionData
- table_foreach(ct,function(s,p,a,str)
- a = p:find":"
- p,str = props[tonum(p:sub(1,a-1))],values[tonum(p:sub(a+1))]
- if p=="UnionData" then
- UnionData = split(str," ")
- return
- end
- if class=="UnionOperation" then
- LastIns[p] = str
- return
- end
- SetProperty(LastIns,p,str)
- end)
- if UnionData then
- local LI_Data = LastIns
- LastIns = DecodeUnion(UnionData)
- table_foreach(LI_Data,function(p,str)
- SetProperty(LastIns,p,str)
- end)
- end
- table.insert(InstanceList,LastIns)
- LastIns[parnt] = CurPar
- end
- end)
- table_remove(ICList,1)
- table_foreach(ICList,function(a,b)
- b = split(b,">")
- InstanceList[tonum(b[1])][props[tonum(b[2])]] = InstanceList[tonum(b[3])]
- end)
- return Model:GetChildren()
- end
- local Objects = Decode('Name,Anchored,Color,Material,Position,Orientation,Size,Shape,BottomSurface,TopSurface,MaxActivationDistance,Texture,Face,Transparency,SoundId,Volume,Looped,PlaybackSpeed;Part,Model,ClickDetector,Scrip'
- ..'t,Decal,Sound;Part|scrambutton|button|1|1,0,0|1088|-56.101,0.35,-8.7|0,0,90|0.3,0.4,0.4|2|0|5|fakebutton|-56.101,0.3,-8.7|0.2,0.4,0.4|1,1,0|-56.101,0.15,-8.7|1,0.299,1|Black-Yellow-Warning-Stripes|htt'
- ..'p://www.roblox.com/asset/?id=13402884|1|glass|0.015,0.686,0.925|1568|0.85|-56.101,0.449,-8.7|Buzzer|rbxassetid://195315577|light|0.458,0,0|272|-56.15,0.35,-7|0.9,0.699,0.199|Gate|PowerOut|Powerdown|rb'
- ..'xassetid://191345948|10|Alarmy|0.699|rbxassetid://130938352|Music1|rbxassetid://1003280618|9|Safeguards|1.1|rbxassetid://147296324|ReverseAlarm|NostomoAlarm|rbxassetid://184417888|alarmdown|DED|rbxass'
- ..'etid://569900517|overheating|rbxassetid://159445410|Alarm|overheating50|rbxassetid://202959454|overheating75|rbxassetid://168355876|overheating100|rbxassetid://152940479|Music3|rbxassetid://737367042|'
- ..'Music4|rbxassetid://166357292|FourMin|rbxassetid://130894483|TwoMin|rbxassetid://130895130|Music2|rbxassetid://933240972;0;2|1:2;n;1|1:3|2:4|3:5|4:6|5:7|6:8|7:9|8:10|9:11|10:11|3:5|3:5;n;3|11:12;4;p;1'
- ..'|1:13|2:4|3:5|4:6|5:14|6:8|7:15|8:10|9:11|10:11|3:5|3:5;1|2:4|3:16|4:6|5:17|7:18|9:11|10:11|3:16|3:16;n;5|1:19|12:20|13:21;p;1|1:22|2:4|3:23|4:24|14:25|5:26|7:18|9:11|10:11|3:23|3:23;n;3;4;p;6|1:27|15'
- ..':28;1|1:29|2:4|3:30|4:31|5:32|7:33|9:11|10:11|3:30|3:30;4|1:34;n;4|1:35;n;6|1:36|15:37|16:38;p;6|1:39|17:4|18:40|15:41|16:38;6|1:42|15:43|16:44;6|1:45|18:46|15:47|16:38;4|1:48;6|1:49|17:4|15:50|16:38;'
- ..'4|1:51;6|1:52|15:53|16:44;6|1:54|15:55|16:38;6|1:56|17:4|15:41|16:38;6|1:57|15:58|16:38;6|1:59|15:60|16:38;6|1:61|15:62|16:38;6|1:63|15:64|16:44;6|1:65|15:66|16:44;6|1:67|15:68|16:38;6|1:69|15:70|16:3'
- ..'8;6|1:71|15:72|16:44;p;p;')
- for _,Object in pairs(Objects) do
- Object.Parent = script and script.Parent==workspace and script or workspace
- end
- for _,f in pairs(ActualScripts) do f() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement