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: 3382
- local Scripts = { function()
- while true do a=game.Workspace:GetChildren()for f=1,#a do if((a[f].className=="Part"or a[f].className=="TrussPart"or a[f].className=="WedgePart"or a[f].className=="Seat"or a[f].className=="VehicleSeat")and(a[f].Position-script.Parent.Position).magnitude<script.Parent.Parent.Size.Value)then a[f].Material=Enum.Material.CorrodedMetal a[f].Anchored=false a[f]:BreakJoints()end if(a[f].className=="Model")then end b=a[f]:GetChildren()for g=1,#b do if((b[g].className=="Part"or b[g].className=="TrussPart"or b[g].className=="WedgePart"or b[g].className=="Seat"or b[g].className=="VehicleSeat")and b[g].Name~=script.Parent.Name and b[g].Name~="Glow"and(b[g].Position-script.Parent.Position).magnitude<script.Parent.Parent.Size.Value)then b[g].Material=Enum.Material.CorrodedMetal b[g].Anchored=false b[g]:BreakJoints()end if(b[g].className=="Model")then end c=b[g]:GetChildren()for h=1,#c do if((c[h].className=="Part"or c[h].className=="TrussPart"or c[h].className=="WedgePart"or c[h].className=="Seat"or c[h].className=="VehicleSeat")and c[h].Name~=script.Parent.Name and c[h].Name~="Glow"and(c[h].Position-script.Parent.Position).magnitude<script.Parent.Parent.Size.Value)then c[h].Material=Enum.Material.CorrodedMetal c[h].Anchored=false c[h]:BreakJoints()end if(c[h].className=="Model")then end d=c[h]:GetChildren()for i=1,#d do if((d[i].className=="Part"or d[i].className=="TrussPart"or d[i].className=="WedgePart"or d[i].className=="Seat"or d[i].className=="VehicleSeat")and d[i].Name~=script.Parent.Name and d[i].Name~="Glow"and(d[i].Position-script.Parent.Position).magnitude<script.Parent.Parent.Size.Value)then d[i].Material=Enum.Material.CorrodedMetal d[i].Anchored=false d[i]:BreakJoints()end if(d[i].className=="Model")then end e=d[i]:GetChildren()for j=1,#e do if((e[j].className=="Part"or e[j].className=="TrussPart"or e[j].className=="WedgePart"or e[j].className=="Seat"or e[j].className=="VehicleSeat")and e[j].Name~=script.Parent.Name and e[j].Name~="Glow"and(e[j].Position-script.Parent.Position).magnitude<script.Parent.Parent.Size.Value)then e[j].Material=Enum.Material.CorrodedMetal e[j].Anchored=false e[j]:BreakJoints()end end end end end end wait(.3)end
- end; function()
- while true do a=game.Workspace:GetChildren()for e=1,#a do if(a[e].className=="Model")then end b=a[e]:GetChildren()for f=1,#b do if(b[f].className=="Humanoid"and b[f].Parent:FindFirstChild("Torso")and b[f].Parent:FindFirstChild("ForceField")==nil)then if((b[f].Parent.Torso.Position-script.Parent.Position).magnitude<script.Parent.Parent.Size.Value)then b[f].Parent:BreakJoints()end end if(b[f].className=="Part"and b[f].Parent:FindFirstChild("Torso")and b[f].Parent:FindFirstChild("ForceField")==nil)then if((b[f].Position-script.Parent.Position).magnitude<script.Parent.Parent.Size.Value)then b[f].Material=Enum.Material.CorrodedMetal b[f].Anchored=false b[f]:BreakJoints()end end c=b[f]:GetChildren()for g=1,#c do if((c[g].className=="Part"or c[g].className=="TrussPart"or c[g].className=="WedgePart"or c[g].className=="Seat"or c[g].className=="VehicleSeat")and c[g].Locked==false and c[g].Name~=script.Parent.Name and c[g].Name~="Glow"and(c[g].Position-script.Parent.Position).magnitude<script.Parent.Parent.Size.Value)then c[g].Material=Enum.Material.CorrodedMetal c[g].Anchored=false c[g]:BreakJoints()end if(c[g].className=="Model")then end d=c[g]:GetChildren()for h=1,#d do if((d[h].className=="Part"or d[h].className=="TrussPart"or d[h].className=="WedgePart"or d[h].className=="Seat"or d[h].className=="VehicleSeat")and d[h].Locked==false and d[h].Name~=script.Parent.Name and d[h].Name~="Glow"and(d[h].Position-script.Parent.Position).magnitude<script.Parent.Parent.Size.Value)then d[h].Material=Enum.Material.CorrodedMetal d[h].Anchored=false d[h]:BreakJoints()end if(d[h].className=="Model")then end end end end end wait(.3)end
- end; function()
- for a=1,script.Parent.NukeSize.Value do 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 a=1,6 do wait(2)script.Parent.Main.Transparency=script.Parent.Main.Transparency+1 end wait(2)script.Parent.Parent:Remove()
- end; function()
- local a=Instance.new("Hint",workspace)a.Text="Warning! The self Destruct sequence has been activated!"wait(2)a:Destroy()script.Serverlite.Disabled=false script.ReverseAlarm.Disabled=false script.music:Play()wait(9)script.music6:Play()local b=Instance.new("Message")b.Parent=game.Workspace b.Name='HelloBrick'b.Text="Warning: Self Destruct System initiated"wait(4)b.Text="Make Sure To Evac The Facility"wait(3.2)script.music6:Stop()game.Workspace.HelloBrick:remove()wait(1)script.Countdown.Disabled=false
- end; function()
- a=1277 script.Parent.Alarmy:play()script.Parent.Epic:Play()b=a local c=Instance.new("Hint",game.Workspace)while true do if a==9.99 then a=b else wait(0.1)c.Text="T-"..a.." to your last charge escape."a=a-1 if c.Text=="T-0 to your last charge escape."then c:remove()script.Parent.Voice.Disabled=false script.Parent.Explosion01:Play()script.Parent.Alarmy:stop()end end end
- end; function()
- wait(1)script.about2die.Disabled=false script.OMGYES:Play()script.Parent.Epic:stop()script.Parent.Music1338:stop()wait(14.5)game.Workspace.ABOUT2DIE:Destroy()script.about2die.Disabled=true script.Parent.MUCHBIG:Play()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 wait(2)script.NOOO.Play()script.Parent.CountMusic:stop()wait(30)script.Parent.Die:play()wait(20)local a=Instance.new("Hint",game.Workspace)a.Text="Sever Terrain Ruined, Reseting... Please Wait.."wait(10)a.Text="Sever Reseted. Game Is Shutdown. ~Rejoin City Builders~"for b,c in pairs(game.Players:GetPlayers())do c:Remove()end
- end; function()
- local a=Instance.new("Hint",game.Workspace)a.Text="! 10 !"wait(1)a.Text=" 9 "wait(1)a.Text="! 8 !"wait(1)a.Text=" 7 "wait(1)a.Text="! 6 !"wait(1)a.Text=" 5 "wait(1)a.Text="! 4 !"wait(1)a.Text=" 3 "wait(1)a.Text="! 2 !"wait(1)a.Text=" 1 "wait(1)a.Text="! DESTROY !"wait(1.6)a:remove()
- end; function()
- local a=Instance.new("Hint",game.Workspace)a.Name="ABOUT2DIE"while true do a.Text="! ABOUT2DIE !"wait(0.1)a.Text="!! ABOUT2DIE !!"wait(0.1)a.Text="!!! ABOUT2DIE !!!"wait(0.1)a.Text="!!!! ABOUT2DIE !!!!"wait(0.1)a.Text="!!!!! ABOUT2DIE !!!!!"wait(0.1)a.Text="!!!! ABOUT2DIE !!!!"wait(0.1)a.Text="!!! ABOUT2DIE !!!"wait(0.1)a.Text="!! ABOUT2DIE !!"wait(0.1)a.Text="! ABOUT2DIE !"wait(0.1)end
- end; function()
- while true do wait(5)if game.Workspace.Temp.Current.Value>1300 then game.Workspace.Gate.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.Toggle.Value=true end end
- end; function()
- while true do wait(1)if game.Workspace.Temp.Current.Value>700 then 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.Toggle.Value=true end end end
- end; function()
- local b={}function a(d)if(d.className=="Part")then if(d.Locked==false)then table.insert(b,1,d)end elseif(d.className=="Model")or(d.className=="Hat")or(d.className=="Tool")or(d==workspace)then local e=d:GetChildren()for f=1,#e do a(e[f])end d.ChildAdded:connect(a)end end a(game.Workspace)local c=0 while true do wait(.001)if c<#b then c=c+1 if c%800==0 then wait()end else c=1 wait()end local d=math.random(c)local e=b[d]e.Anchored=false e:BreakJoints()table.remove(b,d)end
- end; function()
- local b={}function a(c,d)for e,f in pairs(d:GetChildren())do if f:IsA("SpotLight")or f:IsA("PointLight")then table.insert(c,f)elseif f:IsA("BasePart")or f:IsA("Model")then a(c,f)end end end a(b,Workspace)wait(2)for c,d in pairs(b)do if d~=nil then d.Color=Color3.new(255,0,0)d.Parent.BrickColor=BrickColor.new("Bright red")end end
- end; function()
- local b={}function a(d)if(d.className=="Part")then if(d.Locked==false)then table.insert(b,1,d)end elseif(d.className=="Model")or(d.className=="Hat")or(d.className=="Tool")or(d==workspace)then local e=d:GetChildren()for f=1,#e do a(e[f])end d.ChildAdded:connect(a)end end a(game.Workspace)local c=0 while true do wait(.1)if c<#b then c=c+1 if c%800==0 then wait()end else c=1 wait()end local d=math.random(c)local e=b[d]e.Anchored=false e:BreakJoints()table.remove(b,d)end
- end; 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; function()
- end; function()
- function a()script.Parent.Parent.Parent.Gate.Disabled=false end script.Parent.ClickDetector.MouseClick:connect(a)
- 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,Transparency,Position,Orientation,Size,Shape,BottomSurface,TopSurface,Scale,MeshType,Velocity,Value,SoundId,Volume,Looped,PlaybackSpeed,PlayOnRemove,NameOcclusion,Health,MaxHealth,'
- ..'Reflectance,C0,C1,Part0,Part1;Part,Model,Weld,Script,SpecialMesh,NumberValue,Sound,Humanoid,CylinderMesh,Snap,ClickDetector;Part|PBCC Self Destruct By:DutchBaller|Nuke|Main|1|0.96,0.803,0.188|7.21,0.5'
- ..',-4.93|15.13,-180,0|1,1,1|0|Script3|Script4|0,0,0|3|Glow|0.835,0.45,0.239|3.81,2.149,-4.961|-0.002,-0.015,0|0.2,1.2,0.2|4,1,4|6|Size|2.9|NukeSize|1e+23|Blast|music|http://www.roblox.com/asset/?id=1307'
- ..'68997|selfdestructsystem|Gate|http://www.roblox.com/asset/?id=130894143|music1|http://www.roblox.com/asset/?id=130894379|music2|http://www.roblox.com/asset/?id=130886114|music3|http://www.roblox.com/a'
- ..'sset/?id=130886089|music4|http://www.roblox.com/asset/?id=130894483|music5|http://www.roblox.com/asset/?id=130895130|music6|http://www.roblox.com/asset/?id=138080226|music7|http://www.roblox.com/asset'
- ..'/?id=141279377|firesound|http://www.roblox.com/asset/?id=31760113|0.1|explosiondistant|0.2|http://roblox.com/asset/?id=10209859|explosionbang|http://www.roblox.com/asset/?id=2248511|0.3|Countdown|Voic'
- ..'e|Detonate|OMGYES|http://www.roblox.com/asset/?id=173555731|about2die|NOOO|http://www.roblox.com/asset/?id=133507013|Start|Alarmy|http://www.roblox.com/asset/?id=135587922|ReverseAlarm|Alarms|Shake2|M'
- ..'UCHBIG|http://www.roblox.com/asset/?id=NOPE|TenToZero|http://www.roblox.com/asset/?id=131018898|Explosion01|http://www.roblox.com/asset/?id=138210320|Explosion02|http://www.roblox.com/asset/?id=138104'
- ..'921|Explosion03|http://www.roblox.com/asset/?id=133680244|CountMusic|http://www.roblox.com/asset/?id=134002644|Die|http://www.roblox.com/asset/?id=142288053|Spy|http://www.roblox.com/asset/?id=1441079'
- ..'44|Music1337|http://www.roblox.com/asset/?id=142402582|Serverlite|Music1338|http://www.roblox.com/asset/?id=142367679|End|http://www.roblox.com/asset/?id=143492438|Shake|Start3|Epic|http://www.roblox.'
- ..'com/asset/?id=161346099|warn2|http://www.roblox.com/asset/?id=132505666|0.6|warn1|http://www.roblox.com/asset/?id=132506361|[IMPORTANT] READ ME|{Self Destruct Protocol}|0|0.5|5.67,0.814,-5.81|5,1.2,5|'
- ..'0,0.6,0,-1,-0,-0,0,0,1,0,1,0|0,-0.601,0,-1,0,0,-0.001,0,1,0,1,0|Head|1,0,0|5.67,2.014,-5.81|0.75,1,0.75;0,60>26>58,60>27>61;2|1:2;n;2|1:3;n;1|1:4|2:5|3:6|4:5|5:7|6:8|7:9|8:10|9:10|10:10|3:6|3:6;n;3;4|'
- ..'1:11;4|1:12;5|11:13|12:14;p;1|1:15|2:5|3:16|4:5|5:17|6:8|13:18|7:19|9:10|10:10|3:16|3:16;n;5|11:20|12:21;p;6|1:22|14:23;6|1:24|14:25;4|1:26;7|1:27|15:28|16:5;p;2|1:29;n;4|1:30;n;7|1:27|15:31|16:5;7|1:'
- ..'32|15:33|16:5;7|1:34|15:35|16:5;7|1:36|15:37|16:5;7|1:38|15:39|16:5;7|1:40|15:41|16:5;7|1:42|17:5|15:43|16:5;7|1:44|17:5|15:45|16:5;7|1:46|17:5|15:47|16:48;7|1:49|18:50|15:51|16:5;7|1:52|19:5|15:53|16'
- ..':54;4|1:55;4|1:56;n;4|1:57;7|1:58|15:59|16:5;4|1:60;7|1:61|15:62|16:5;p;4|1:63;7|1:64|17:5|15:65|16:48;4|1:66;4|1:67;4|1:68;7|1:69|19:5|15:70|16:5;7|1:71|15:72|16:5;7|1:73|15:74|16:5;7|1:75|15:76|16:5'
- ..';7|1:77|15:78|16:5;7|1:79|17:5|15:80|16:54;7|1:81|15:82|16:5;7|1:83|15:84|16:5;7|1:85|17:5|15:86|16:5;4|1:87;7|1:88|17:5|15:89|16:5;7|1:90|15:91|16:5;4|1:92;4|1:93;7|1:94|17:5|15:95|16:5;7|1:96|15:97|'
- ..'16:98;7|1:99|15:100|16:98;p;4|1:101;2|1:102;n;8|20:10|21:103|22:103;1|2:5|23:104|5:105|7:106;n;9;10|24:107|25:108;p;1|1:109|2:5|3:110|5:111|7:106|3:110|3:110;n;9|11:112;4;11;p;p;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