Advertisement
AxeuerAlt

Fake Melt

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