Advertisement
AxeuerAlt

Core

Jul 13th, 2019
525
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.87 KB | None | 0 0
  1. -- Converted using Mokiros's Model to Script plugin
  2. -- Converted string size: 3644
  3.  
  4. local Scripts = { function()
  5. while true do local a=Instance.new("Explosion")a.Parent=game.Workspace a.Position=Vector3.new(math.random(-144,56),math.random(234.5,434.5),math.random(101,301))wait(0.4)end
  6. end; function()
  7. script.NoLights.Disabled=false script.SpookyPowerdown:Play()game.Workspace.Core.Core.Core.FDScript.Disabled=false game.Workspace.HeatCoolScreen.SurfaceGui.Coolant.Visible=false game.Workspace.HeatCoolScreen.SurfaceGui.Heatant.Visible=false game.Workspace.HeatCoolDisable.SurfaceGui.Coolant.Visible=false game.Workspace.HeatCoolDisable.SurfaceGui.Heatant.Visible=false game.Workspace.Temp.HeatantLevel.Value=0 game.Workspace.Temp.CoolantLevel.Value=0 wait(8)script.Spooky:Play()wait(8)script.Crying:Play()wait(4)script.SheBeDed:Play()wait(5)script.Spooky:Play()wait(8)script.Crash:Play()script.VentFall.Disabled=false wait(4)script.Laugh:Play()wait(4)script.Powerup:Play()wait(3)script.NormalLights.Disabled=false wait(1)script.EmergencyPower:Play()game.Workspace.Speaker.Main.Script.Disabled=false script.FreezeAlarms.Disabled=false wait(2)script.LowAlarmScript.Disabled=false wait(2)script.Critical:Play()script.Corruption157Sec:Play()wait(10)script.ReactorFailure:Play()wait(2.5)script.BlueLights.Disabled=false wait(26.5)script.Evacuation:Play()game.Workspace.LaunchSiloDoor.Open.Disabled=false wait(117)script.Freezedown90Seconds:Play()script.Stanley90:Play()script.CountdownScript.Disabled=false wait(91)script.TooBadNoLights.Disabled=false script.SpookyPowerdown:Play()game.Workspace.Speaker.Main.Script.Disabled=true script.NoFreezeAlarms.Disabled=false script.LowAlarmScript.Disabled=true wait(2)script.GlassBreak:Play()script.OxygenLeak:Play()wait(2)script.StillAlive:Play()wait(30)script.Deadly.Value=true wait(20)while true do wait()for a,b in pairs(game.Players:GetPlayers())do b:Kick("Station frozen, server has been shut down. Thanks for playing!")end end
  8. end; function()
  9. local a={}for b,c in pairs(workspace:GetChildren())do if c.Name=="Light"then table.insert(a,c)end end for b,c in pairs(a)do c.SurfaceLight.Color=Color3.new(0,0,0)c.BrickColor=BrickColor.new("Black")c.Material="Plastic"end game.Lighting.OutdoorAmbient=Color3.new(0,0,0)game.Lighting.Brightness=0
  10. end; function()
  11. local a={}for b,c in pairs(workspace:GetChildren())do if c.Name=="Light"then table.insert(a,c)end end for b,c in pairs(a)do c.SurfaceLight.Color=Color3.new(255,255,255)c.BrickColor=BrickColor.new("Institutional white")c.Material="Neon"end game.Lighting.OutdoorAmbient=Color3.new(127,127,127)game.Lighting.Brightness=1
  12. end; function()
  13. local a={}for b,c in pairs(workspace:GetChildren())do if c.Name=="Light"then table.insert(a,c)end end for b,c in pairs(a)do c.SurfaceLight.Color=Color3.new(0,0,255)c.BrickColor=BrickColor.new("Really blue")end game.Lighting.OutdoorAmbient=Color3.new(0,0,0)
  14. end; function()
  15. local a={}for b,c in pairs(workspace:GetChildren())do if c.Name=="FreezeAlarm"then table.insert(a,c)end end for b,c in pairs(a)do c.Enabled.Value=false end
  16. end; function()
  17. while true do script.Parent.LowAlarm:Play()wait(1.875)end
  18. end; function()
  19. for a,b in pairs(game.Workspace.FallVent:GetChildren())do b.Transparency=1 b.CanCollide=false end for a,b in pairs(game.Workspace.FallenVent:GetChildren())do b.Transparency=0 b.CanCollide=true end
  20. end; function()
  21. local a={}for b,c in pairs(workspace:GetChildren())do if c.Name=="Light"then table.insert(a,c)end end for b,c in pairs(a)do c.SurfaceLight.Color=Color3.new(0,0,0)c.BrickColor=BrickColor.new("Black")c.Material="Plastic"end game.Lighting.OutdoorAmbient=Color3.new(0,0,0)game.Lighting.Brightness=0
  22. end; function()
  23. local a={}for b,c in pairs(workspace:GetChildren())do if c.Name=="FreezeAlarm"then table.insert(a,c)end end for b,c in pairs(a)do c.Enabled.Value=true end
  24. end; function()
  25. while true do wait(1)script.Parent.Countdown.Value=script.Parent.Countdown.Value-1 if script.Parent.Countdown.Value==0 then script.Disabled=true end end
  26. end; function()
  27. function a(b)repeat wait()until b.Character~=nil local c=script.FDDeath:clone()c.Parent=b.Character c.Disabled=false b.CharacterAdded:connect(function(d)local e=script.FDDeath:clone()e.Parent=d e.Disabled=false end)end game.Players.PlayerAdded:connect(a)
  28. end; function()
  29. while true do if game.Workspace.Freezedown.Deadly.Value==true then script.Parent.SprintScript:Destroy()script.Parent.Humanoid.WalkSpeed=0 script.Parent.Humanoid.AutoRotate=false local a={}for b,c in pairs(script.Parent:GetChildren())do if c.ClassName=="Part"then table.insert(a,c)end end for b,c in pairs(a)do c.BrickColor=BrickColor.new("Pastel light blue")c.Material="Ice"c.Anchored=true end script.Parent.Sound:Destroy()script.Parent.Animate:Destroy()end wait()end
  30. end; function()
  31. script.FireAlarms.Disabled=false game.Workspace.Explosions.Disabled=false game.Workspace.Temp.MeltdownTemp.Disabled=false game.Workspace.Speaker.Main.Script.Disabled=false game.Workspace.Core.Core.Core.MDParticles.Enabled=true game.Workspace.Core.Core.Core.Grow.Disabled=false game.Workspace.Core.Core.Shield.Grow.Disabled=false wait(2)script.Music1:Play()wait(1)script.Safeguards:Play()wait(5.5)script.GUIEnabled.Value=false wait(32)script.CoreExplosion:Play()wait(1)script.RedLights.Disabled=false script.Flare:Play()wait(36)script.Music2:Play()script.Corruption50:Play()wait(9.1)script.SD1:Play()wait(116)script.Music3:Play()script.Corruption50:Play()wait(15)script.EightMinutes:Play()wait(110)script.Music4:Play()script.Corruption75:Play()wait(20)script.ExplosionImminent:Play()wait(30)script.Corruption100:Play()script.SGCAlarm:Play()wait(8)script.Music5:Play()script.SD2:Play()wait(73)script.OverrideExpired.Value=true game.Workspace.LaunchSiloDoor.Open.Disabled=false wait(47)script.Music6:Play()wait(3)script.FourMinutes:Play()wait(117)script.TwoMinutes:Play()wait(3)script.Music7:Play()script.SD3:Play()wait(42)script.EmergencyPower:Play()wait(1)script.NormalLights.Disabled=false wait(78)script.Explosion:Play()script.Drumstep:Play()wait(11)script.BigBoom:Play()print("BOOOM")game.Workspace.SBSun.Script.Disabled=false game.Workspace.Core.Core:Destroy()wait(60)while true do wait()for a,b in pairs(game.Players:GetPlayers())do b:Kick("Station destroyed, server has been shut down. Thanks for playing!")end end
  32. end; function()
  33. local a={}for b,c in pairs(workspace:GetChildren())do if c.Name=="FireAlarm"then table.insert(a,c)end end for b,c in pairs(a)do c.Enabled.Value=true end
  34. end; function()
  35. local a={}for b,c in pairs(workspace:GetChildren())do if c.Name=="Light"then table.insert(a,c)end end for b,c in pairs(a)do c.SurfaceLight.Color=Color3.new(255,0,0)c.BrickColor=BrickColor.new("Really red")end
  36. end; function()
  37. local a={}for b,c in pairs(workspace:GetChildren())do if c.Name=="Light"then table.insert(a,c)end end for b,c in pairs(a)do c.SurfaceLight.Color=Color3.new(255,255,255)c.BrickColor=BrickColor.new("Institutional white")end
  38. end; function()
  39. function a(b)repeat wait()until b.Character~=nil local c=script.SprintScript:clone()c.Parent=b.Character c.Disabled=false b.CharacterAdded:connect(function(d)local e=script.SprintScript:clone()e.Parent=d e.Disabled=false end)end game.Players.PlayerAdded:connect(a)
  40. end; function()
  41. local b=game.Players.LocalPlayer:GetMouse()local c=false function a()for d,e in ipairs(script.Parent:GetChildren())do if e.className=="Tool"then return e end end return nil end b.KeyDown:connect(function(d)d=string.lower(d)if string.byte(d)==48 then c=true local e=b.KeyUp:connect(function(f)if string.byte(f)==48 then c=false end end)for f=1,5 do game.Workspace.CurrentCamera.FieldOfView=(70+(f*2))wait()end game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=30 repeat wait()until c==false e:disconnect()game.Players.LocalPlayer.Character.Humanoid.WalkSpeed=16 for f=1,5 do game.Workspace.CurrentCamera.FieldOfView=(80-(f*2))wait()end end end)
  42. end; function()
  43. game.Workspace.Temp.Value=1000 wait(2)game.Workspace.Temp.Value=100 wait(2)game.Workspace.Temp.Value=0
  44. end; function()
  45. game.Workspace.Temp.Value=3200 wait(2)game.Workspace.Temp.Value=3700 wait(2)game.Workspace.Temp.Value=4000
  46. end; function()
  47. while true do if script.Parent.RP.Value==1 then script.Parent.Value=script.Parent.Value+2 elseif script.Parent.RP.Value==2 then script.Parent.Value=script.Parent.Value+4 elseif script.Parent.RP.Value==3 then script.Parent.Value=script.Parent.Value+8 else script.Parent.Value=script.Parent.Value+18 end wait(1)end
  48. end; function()
  49. while true do script.Parent.Value=script.Parent.Value+math.random(80,120)wait(0.01)end
  50. end; function()
  51. while true do if script.Parent.Value>3999 then game.Workspace.Meltdown.Disabled=false script.Disabled=true end wait()end
  52. end; function()
  53. while true do if script.Parent.Value<1 then game.Workspace.Freezedown.Disabled=false script.Parent.Main.Disabled=true script.Parent.FreezedownTemp.Disabled=false script.Disabled=true end wait()end
  54. end; function()
  55. while true do script.Parent.Value=0 wait(0.01)end
  56. end; function()
  57. while true do if script.Parent.CoolantSupply.Value==true then if script.Parent.CoolantLevel.Value==1 then script.Parent.Value=script.Parent.Value-4 elseif script.Parent.CoolantLevel.Value==2 then script.Parent.Value=script.Parent.Value-8 elseif script.Parent.CoolantLevel.Value==3 then script.Parent.Value=script.Parent.Value-18 end end wait(1)end
  58. end; function()
  59. while true do if script.Parent.HeatantSupply.Value==true then if script.Parent.HeatantLevel.Value==1 then script.Parent.Value=script.Parent.Value+2 elseif script.Parent.HeatantLevel.Value==2 then script.Parent.Value=script.Parent.Value+4 elseif script.Parent.HeatantLevel.Value==3 then script.Parent.Value=script.Parent.Value+9 end end wait(1)end
  60. end;}local ActualScripts = {}
  61. function s(var)
  62. local func = table.remove(Scripts,1)
  63. setfenv(func,setmetatable({script=var},{
  64. __index = getfenv(func),
  65. }))
  66. table.insert(ActualScripts,coroutine.wrap(func))
  67. end
  68.  
  69. local Decode = function(str,t,props,classes,values,ICList,Model,CurPar,LastIns,split,RemoveAndSplit,InstanceList)
  70. local tonum,table_remove,inst,parnt,comma,table_foreach = tonumber,table.remove,Instance.new,"Parent",",",
  71. function(t,f)
  72. for a,b in pairs(t) do
  73. f(a,b)
  74. end
  75. end
  76. local Types = {
  77. Color3 = Color3.new,
  78. Vector3 = Vector3.new,
  79. Vector2 = Vector2.new,
  80. UDim = UDim.new,
  81. UDim2 = UDim2.new,
  82. CFrame = CFrame.new,
  83. Rect = Rect.new,
  84. NumberRange = NumberRange.new,
  85. NumberSequence = function(...)
  86. local a = {...}
  87. local t = {}
  88. repeat
  89. t[#t+1] = NumberSequenceKeypoint.new(table_remove(a,1),table_remove(a,1),table_remove(a,1))
  90. until #a==0
  91. return NumberSequence.new(t)
  92. end,
  93. ColorSequence = function(...)
  94. local a = {...}
  95. local t = {}
  96. repeat
  97. t[#t+1] = ColorSequenceKeypoint.new(table_remove(a,1),Color3.new(table_remove(a,1),table_remove(a,1),table_remove(a,1)))
  98. until #a==0
  99. return ColorSequence.new(t)
  100. end,
  101. number = tonumber,
  102. boolean = function(a)
  103. return a=="1"
  104. end
  105. }
  106. split = function(str,sep)
  107. if not str then return end
  108. local fields = {}
  109. local ConcatNext = false
  110. str:gsub(("([^%s]+)"):format(sep),function(c)
  111. if ConcatNext == true then
  112. fields[#fields] = fields[#fields]..sep..c
  113. ConcatNext = false
  114. else
  115. fields[#fields+1] = c
  116. end
  117. if c:sub(#c)=="\\" then
  118. c = fields[#fields]
  119. fields[#fields] = c:sub(1,#c-1)
  120. ConcatNext = true
  121. end
  122. end)
  123. return fields
  124. end
  125. RemoveAndSplit = function(t)
  126. return split(table_remove(t,1),comma)
  127. end
  128. t = split(str,";")
  129. props = RemoveAndSplit(t)
  130. classes = RemoveAndSplit(t)
  131. values = split(table_remove(t,1),'|')
  132. ICList = RemoveAndSplit(t)
  133. InstanceList = {}
  134. Model = inst"Model"
  135. CurPar = Model
  136. table_foreach(t,function(ct,c)
  137. if c=="n" or c=="p" then
  138. CurPar = c=="n" and LastIns or CurPar[parnt]
  139. else
  140. ct = split(c,"|")
  141. local class = classes[tonum(table_remove(ct,1))]
  142. if class=="UnionOperation" then
  143. LastIns = {Locked="true",Anchored="true",UsePartColor="true"}
  144. else
  145. LastIns = inst(class)
  146. if LastIns:IsA"Script" then
  147. s(LastIns)
  148. end
  149. end
  150.  
  151. local function SetProperty(LastIns,p,str,s)
  152. s = Types[typeof(LastIns[p])]
  153. LastIns[p] = s and s(unpack(split(str,comma))) or str
  154. end
  155.  
  156. local UnionData
  157. table_foreach(ct,function(s,p,a,str)
  158. a = p:find":"
  159. p,str = props[tonum(p:sub(1,a-1))],values[tonum(p:sub(a+1))]
  160. if p=="UnionData" then
  161. UnionData = split(str," ")
  162. return
  163. end
  164. if class=="UnionOperation" then
  165. LastIns[p] = str
  166. return
  167. end
  168. SetProperty(LastIns,p,str)
  169. end)
  170.  
  171. if UnionData then
  172. local LI_Data = LastIns
  173. LastIns = DecodeUnion(UnionData)
  174. table_foreach(LI_Data,function(p,str)
  175. SetProperty(LastIns,p,str)
  176. end)
  177. end
  178. table.insert(InstanceList,LastIns)
  179. LastIns[parnt] = CurPar
  180. end
  181. end)
  182. table_remove(ICList,1)
  183. table_foreach(ICList,function(a,b)
  184. b = split(b,">")
  185. InstanceList[tonum(b[1])][props[tonum(b[2])]] = InstanceList[tonum(b[3])]
  186. end)
  187.  
  188. return Model:GetChildren()
  189. end
  190.  
  191. local Objects = Decode('Name,SoundId,Volume,Looped,EmitterSize,PlaybackSpeed,Value;Part,Model,Folder,Script,Sound,BoolValue,NumberValue,LocalScript;Part|UNGROUP ME|PUT IN WORKSPACE|Explosions|Freezedown|TooBadNoLights|Music1'
  192. ..'|rbxassetid://521568547|1|PowerDown|rbxassetid://178648802|EmergencyPower|rbxassetid://130886114|0.699|Freezedown90Seconds|rbxassetid://536510356|Stanley90|rbxassetid://310201859|0.75|MinorAlarm|rbxas'
  193. ..'setid://143969690|Flare|rbxassetid://137977694|Evacuation|rbxassetid://147296378|NormalLights|BlueLights|NoFreezeAlarms|ReactorFailure|rbxassetid://209833293|LowAlarm|20|2|rbxassetid://141279377|LowAl'
  194. ..'armScript|Spooky|rbxassetid://191038800|SpookyPowerdown|rbxassetid://191345948|Whisper|rbxassetid://228797800|Critical|rbxassetid://147060085|SpookyAmbience|rbxassetid://190993161|0.1|Crying|rbxasseti'
  195. ..'d://191006402|Crash|rbxassetid://191040613|VentFall|Scream|rbxassetid://138167455|SheBeDed|rbxassetid://422594992|Laugh|rbxassetid://177359995|0.6|Powerup|rbxassetid://75338443|Corruption157Sec|rbxass'
  196. ..'etid://466949705|NoLights|GlassBreak|rbxassetid://12222005|OxygenLeak|rbxassetid://535327803|0.4|StillAlive|rbxassetid://535454549|FreezeAlarms|Deadly|Countdown|90|CountdownScript|FreezedownDeath|FDDe'
  197. ..'ath|Meltdown|Safeguards|rbxassetid://147296324|rbxassetid://317909819|TwoMinutes|rbxassetid://130895130|Music2|rbxassetid://227628089|1.5|SD1|rbxassetid://304715329|1.2|SD2|rbxassetid://310467131|1.79'
  198. ..'9|FireAlarms|GUIEnabled|ExplosionTimer|rbxassetid://130894839|Corruption50|rbxassetid://202959454|Corruption75|rbxassetid://177610668|Corruption100|rbxassetid://186881098|FutureMusic|rbxassetid://1424'
  199. ..'02582|ExplosionImminent|rbxassetid://130894143|RedLights|CoreExplosion|rbxassetid://130886089|Music3|rbxassetid://265740449|EightMinutes|rbxassetid://225305398|SGCAlarm|rbxassetid://130938352|Music5|r'
  200. ..'bxassetid://267503579|0.8|UCCUnusedTrack|rbxassetid://526812640|Music4|rbxassetid://233509061|Overheating|rbxassetid://159445410|OverrideExpired|Music6|rbxassetid://268594769|FourMinutes|rbxassetid://'
  201. ..'130894483|Music7|rbxassetid://231144028|1.25|SD3|rbxassetid://322590793|Explosion|rbxassetid://245537790|Drumstep|rbxassetid://203275374|BigBoom|rbxassetid://165969964|OEGUI|SprintScriptImporter|Sprin'
  202. ..'tScript|StudioFreezedown|StudioMeltdown|Temp|2000|Main|RP|MeltdownTemp|FreezedownTemp|HeatantLevel|CoolantLevel|Coolant|Heatant|CoolantSupply|HeatantSupply;0;2|1:2;n;3|1:3;n;4|1:4;4|1:5;n;4|1:6;5|1:7|'
  203. ..'2:8|3:9;5|1:10|2:11;5|1:12|2:13|3:14;5|1:15|2:16|3:9;5|1:17|2:18|3:19;5|1:20|4:9|2:21;5|1:22|2:23|3:9;5|1:24|2:25|3:9;4|1:26;4|1:27;4|1:28;5|1:29|2:30|3:9;5|1:31|5:32|6:33|2:34|3:9;4|1:35;5|1:36|2:37|'
  204. ..'3:9;5|1:38|2:39|3:9;5|1:40|2:41|3:9;5|1:42|2:43|3:9;5|1:44|2:45|3:46;5|1:47|2:48|3:9;5|1:49|2:50|3:19;4|1:51;5|1:52|2:53;5|1:54|2:55;5|1:56|2:57|3:58;5|1:59|2:60|3:9;5|1:61|6:14|2:62|3:9;4|1:63;5|1:64'
  205. ..'|2:65;5|1:66|4:9|2:67|3:68;5|1:69|2:70;4|1:71;6|1:72;7|1:73|7:74;4|1:75;p;4|1:76;n;8|1:77;p;4|1:78;n;5|1:79|2:80|3:9;5|1:7|2:81|3:9;5|1:82|2:83|3:9;5|1:84|2:85|3:86;5|1:87|2:88|3:89;5|1:90|2:91|3:92;4'
  206. ..'|1:93;6|1:94|7:9;5|1:95|2:96|3:9;5|1:97|2:98|3:89;5|1:99|2:100|3:89;5|1:101|2:102|3:89;5|1:103|2:104|3:9;5|1:105|2:106|3:9;4|1:107;5|1:22|2:23|3:9;5|1:108|2:109|3:9;5|1:110|2:111|3:86;5|1:112|2:113|3:'
  207. ..'9;5|1:114|4:9|2:115|3:9;5|1:116|2:117|3:118;5|1:119|2:120;5|1:121|2:122|3:86;5|1:123|2:124|3:9;5|1:24|2:25;6|1:125;5|1:126|2:127|3:86;5|1:128|2:129|3:9;5|1:130|2:131|3:132;5|1:133|2:134|3:9;4|1:26;5|1'
  208. ..':12|2:13|3:9;5|1:135|2:136|3:9;5|1:137|2:138|3:9;5|1:139|2:140|3:9;6|1:141|7:9;p;4|1:142;n;8|1:143;p;4|1:144;4|1:145;7|1:146|7:147;n;4|1:148;7|1:149|7:9;4|1:150;4|1:78;4|1:5;4|1:151;7|1:152;7|1:153;4|'
  209. ..'1:154;4|1:155;6|1:156|7:9;6|1:157|7:9;p;p;p;')
  210. for _,Object in pairs(Objects) do
  211. Object.Parent = script and script.Parent==workspace and script or workspace
  212. end
  213. for _,f in pairs(ActualScripts) do f() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement