Advertisement
AxeuerAlt

Untitled

Oct 13th, 2019
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.08 KB | None | 0 0
  1. -- Converted using Mokiros's Model to Script plugin
  2. -- Converted string size: 1825
  3.  
  4. local Scripts = { function()
  5. 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)
  6. end; function()
  7. local a=game.Workspace.scrambutton.glass.ClickDetector a.MouseClick:Connect(function()local b=workspace.scrambutton.glass b:Destroy()b.Parent=workspace end)
  8. end; function()
  9. 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()
  10. end; function()
  11. script.Powerdown:Play()script.Disabled=true game.Lighting.OutdoorAmbient=Color3.new(255,0,0)game.Lighting.Ambient=Color3.new(255,0,0)
  12. end; function()
  13. 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
  14. end; function()
  15. 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
  16. end;}local ActualScripts = {}
  17. function s(var)
  18. local func = table.remove(Scripts,1)
  19. setfenv(func,setmetatable({script=var},{
  20. __index = getfenv(func),
  21. }))
  22. table.insert(ActualScripts,coroutine.wrap(func))
  23. end
  24.  
  25. local Decode = function(str,t,props,classes,values,ICList,Model,CurPar,LastIns,split,RemoveAndSplit,InstanceList)
  26. local tonum,table_remove,inst,parnt,comma,table_foreach = tonumber,table.remove,Instance.new,"Parent",",",
  27. function(t,f)
  28. for a,b in pairs(t) do
  29. f(a,b)
  30. end
  31. end
  32. local Types = {
  33. Color3 = Color3.new,
  34. Vector3 = Vector3.new,
  35. Vector2 = Vector2.new,
  36. UDim = UDim.new,
  37. UDim2 = UDim2.new,
  38. CFrame = CFrame.new,
  39. Rect = Rect.new,
  40. NumberRange = NumberRange.new,
  41. NumberSequence = function(...)
  42. local a = {...}
  43. local t = {}
  44. repeat
  45. t[#t+1] = NumberSequenceKeypoint.new(table_remove(a,1),table_remove(a,1),table_remove(a,1))
  46. until #a==0
  47. return NumberSequence.new(t)
  48. end,
  49. ColorSequence = function(...)
  50. local a = {...}
  51. local t = {}
  52. repeat
  53. t[#t+1] = ColorSequenceKeypoint.new(table_remove(a,1),Color3.new(table_remove(a,1),table_remove(a,1),table_remove(a,1)))
  54. until #a==0
  55. return ColorSequence.new(t)
  56. end,
  57. number = tonumber,
  58. boolean = function(a)
  59. return a=="1"
  60. end
  61. }
  62. split = function(str,sep)
  63. if not str then return end
  64. local fields = {}
  65. local ConcatNext = false
  66. str:gsub(("([^%s]+)"):format(sep),function(c)
  67. if ConcatNext == true then
  68. fields[#fields] = fields[#fields]..sep..c
  69. ConcatNext = false
  70. else
  71. fields[#fields+1] = c
  72. end
  73. if c:sub(#c)=="\\" then
  74. c = fields[#fields]
  75. fields[#fields] = c:sub(1,#c-1)
  76. ConcatNext = true
  77. end
  78. end)
  79. return fields
  80. end
  81. RemoveAndSplit = function(t)
  82. return split(table_remove(t,1),comma)
  83. end
  84. t = split(str,";")
  85. props = RemoveAndSplit(t)
  86. classes = RemoveAndSplit(t)
  87. values = split(table_remove(t,1),'|')
  88. ICList = RemoveAndSplit(t)
  89. InstanceList = {}
  90. Model = inst"Model"
  91. CurPar = Model
  92. table_foreach(t,function(ct,c)
  93. if c=="n" or c=="p" then
  94. CurPar = c=="n" and LastIns or CurPar[parnt]
  95. else
  96. ct = split(c,"|")
  97. local class = classes[tonum(table_remove(ct,1))]
  98. if class=="UnionOperation" then
  99. LastIns = {Locked="true",Anchored="true",UsePartColor="true"}
  100. else
  101. LastIns = inst(class)
  102. if LastIns:IsA"Script" then
  103. s(LastIns)
  104. end
  105. end
  106.  
  107. local function SetProperty(LastIns,p,str,s)
  108. s = Types[typeof(LastIns[p])]
  109. LastIns[p] = s and s(unpack(split(str,comma))) or str
  110. end
  111.  
  112. local UnionData
  113. table_foreach(ct,function(s,p,a,str)
  114. a = p:find":"
  115. p,str = props[tonum(p:sub(1,a-1))],values[tonum(p:sub(a+1))]
  116. if p=="UnionData" then
  117. UnionData = split(str," ")
  118. return
  119. end
  120. if class=="UnionOperation" then
  121. LastIns[p] = str
  122. return
  123. end
  124. SetProperty(LastIns,p,str)
  125. end)
  126.  
  127. if UnionData then
  128. local LI_Data = LastIns
  129. LastIns = DecodeUnion(UnionData)
  130. table_foreach(LI_Data,function(p,str)
  131. SetProperty(LastIns,p,str)
  132. end)
  133. end
  134. table.insert(InstanceList,LastIns)
  135. LastIns[parnt] = CurPar
  136. end
  137. end)
  138. table_remove(ICList,1)
  139. table_foreach(ICList,function(a,b)
  140. b = split(b,">")
  141. InstanceList[tonum(b[1])][props[tonum(b[2])]] = InstanceList[tonum(b[3])]
  142. end)
  143.  
  144. return Model:GetChildren()
  145. end
  146.  
  147. 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'
  148. ..'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'
  149. ..'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'
  150. ..'xassetid://191345948|10|Alarmy|0.699|rbxassetid://130938352|Music1|rbxassetid://1003280618|9|Safeguards|1.1|rbxassetid://147296324|ReverseAlarm|NostomoAlarm|rbxassetid://184417888|alarmdown|DED|rbxass'
  151. ..'etid://569900517|overheating|rbxassetid://159445410|Alarm|overheating50|rbxassetid://202959454|overheating75|rbxassetid://168355876|overheating100|rbxassetid://152940479|Music3|rbxassetid://737367042|'
  152. ..'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'
  153. ..'|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'
  154. ..':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;'
  155. ..'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'
  156. ..'8;6|1:71|15:72|16:44;p;p;')
  157. for _,Object in pairs(Objects) do
  158. Object.Parent = script and script.Parent==workspace and script or workspace
  159. end
  160. for _,f in pairs(ActualScripts) do f() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement