AxeuerAlt

Untitled

Apr 24th, 2019
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.32 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. Model0 = Instance.new("Model")
  19. Model1 = Instance.new("Model")
  20. Part2 = Instance.new("Part")
  21. Weld3 = Instance.new("Weld")
  22. Script4 = Instance.new("Script")
  23. Script5 = Instance.new("Script")
  24. SpecialMesh6 = Instance.new("SpecialMesh")
  25. Part7 = Instance.new("Part")
  26. SpecialMesh8 = Instance.new("SpecialMesh")
  27. NumberValue9 = Instance.new("NumberValue")
  28. NumberValue10 = Instance.new("NumberValue")
  29. Script11 = Instance.new("Script")
  30. Sound12 = Instance.new("Sound")
  31. Model13 = Instance.new("Model")
  32. Script14 = Instance.new("Script")
  33. Sound15 = Instance.new("Sound")
  34. Sound16 = Instance.new("Sound")
  35. Sound17 = Instance.new("Sound")
  36. Sound18 = Instance.new("Sound")
  37. Sound19 = Instance.new("Sound")
  38. Sound20 = Instance.new("Sound")
  39. Sound21 = Instance.new("Sound")
  40. Sound22 = Instance.new("Sound")
  41. Sound23 = Instance.new("Sound")
  42. Sound24 = Instance.new("Sound")
  43. Sound25 = Instance.new("Sound")
  44. Script26 = Instance.new("Script")
  45. Script27 = Instance.new("Script")
  46. Script28 = Instance.new("Script")
  47. Sound29 = Instance.new("Sound")
  48. Script30 = Instance.new("Script")
  49. Sound31 = Instance.new("Sound")
  50. Script32 = Instance.new("Script")
  51. Sound33 = Instance.new("Sound")
  52. Script34 = Instance.new("Script")
  53. Script35 = Instance.new("Script")
  54. Script36 = Instance.new("Script")
  55. Sound37 = Instance.new("Sound")
  56. Sound38 = Instance.new("Sound")
  57. Sound39 = Instance.new("Sound")
  58. Sound40 = Instance.new("Sound")
  59. Sound41 = Instance.new("Sound")
  60. Sound42 = Instance.new("Sound")
  61. Sound43 = Instance.new("Sound")
  62. Sound44 = Instance.new("Sound")
  63. Sound45 = Instance.new("Sound")
  64. Script46 = Instance.new("Script")
  65. Sound47 = Instance.new("Sound")
  66. Sound48 = Instance.new("Sound")
  67. Script49 = Instance.new("Script")
  68. Script50 = Instance.new("Script")
  69. Sound51 = Instance.new("Sound")
  70. Sound52 = Instance.new("Sound")
  71. Sound53 = Instance.new("Sound")
  72. Script54 = Instance.new("Script")
  73. Model55 = Instance.new("Model")
  74. Humanoid56 = Instance.new("Humanoid")
  75. Part57 = Instance.new("Part")
  76. CylinderMesh58 = Instance.new("CylinderMesh")
  77. Snap59 = Instance.new("Snap")
  78. Part60 = Instance.new("Part")
  79. CylinderMesh61 = Instance.new("CylinderMesh")
  80. Script62 = Instance.new("Script")
  81. ClickDetector63 = Instance.new("ClickDetector")
  82. Model0.Name = "PBCCSelfDestruct"
  83. Model0.Parent = mas
  84. Model1.Name = "Nuke"
  85. Model1.Parent = Model0
  86. Part2.Name = "Main"
  87. Part2.Parent = Model1
  88. Part2.CFrame = CFrame.new(1.610008, 0.500033975, 0.670883, -1, -3.88290999e-09, -4.05711909e-08, 6.87041624e-09, 0.965347111, -0.260973543, 4.01444957e-08, -0.260973543, -0.965347111)
  89. Part2.Orientation = Vector3.new(15.1300001, -180, 0)
  90. Part2.Position = Vector3.new(1.610008, 0.500033975, 0.670883)
  91. Part2.Rotation = Vector3.new(164.869995, 0, 180)
  92. Part2.Color = Color3.new(0.960784, 0.803922, 0.188235)
  93. Part2.Transparency = 1
  94. Part2.Size = Vector3.new(1, 1, 1)
  95. Part2.Anchored = true
  96. Part2.BottomSurface = Enum.SurfaceType.Smooth
  97. Part2.BrickColor = BrickColor.new("Bright yellow")
  98. Part2.TopSurface = Enum.SurfaceType.Smooth
  99. Part2.brickColor = BrickColor.new("Bright yellow")
  100. Part2.FormFactor = Enum.FormFactor.Symmetric
  101. Part2.formFactor = Enum.FormFactor.Symmetric
  102. Part2.Shape = Enum.PartType.Ball
  103. Weld3.Parent = Part2
  104. Script4.Name = "Script3"
  105. Script4.Parent = Part2
  106. table.insert(cors,sandbox(Script4,function()
  107. while true do
  108. c = game.Workspace:GetChildren()
  109. for i =1,#c do
  110. if ((c[i].className == "Part" or c[i].className == "TrussPart" or c[i].className == "WedgePart" or c[i].className == "Seat" or c[i].className == "VehicleSeat") and (c[i].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
  111. c[i].Material = Enum.Material.CorrodedMetal
  112. c[i].Anchored = false
  113. c[i]:BreakJoints()
  114. end
  115. if (c[i].className == "Model") then
  116. end
  117. g = c[i]:GetChildren()
  118. for j =1,#g do
  119. if ((g[j].className == "Part" or g[j].className == "TrussPart" or g[j].className == "WedgePart" or g[j].className == "Seat" or g[j].className == "VehicleSeat") and g[j].Name ~= script.Parent.Name and g[j].Name ~= "Glow" and (g[j].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
  120. g[j].Material = Enum.Material.CorrodedMetal
  121. g[j].Anchored = false
  122. g[j]:BreakJoints()
  123. end
  124. if (g[j].className == "Model") then
  125. end
  126. t = g[j]:GetChildren()
  127. for s =1,#t do
  128. if ((t[s].className == "Part" or t[s].className == "TrussPart" or t[s].className == "WedgePart" or t[s].className == "Seat" or t[s].className == "VehicleSeat") and t[s].Name ~= script.Parent.Name and t[s].Name ~= "Glow" and (t[s].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
  129. t[s].Material = Enum.Material.CorrodedMetal
  130. t[s].Anchored = false
  131. t[s]:BreakJoints()
  132. end
  133. if (t[s].className == "Model") then
  134. end
  135. a = t[s]:GetChildren()
  136. for z =1,#a do
  137. if ((a[z].className == "Part" or a[z].className == "TrussPart" or a[z].className == "WedgePart" or a[z].className == "Seat" or a[z].className == "VehicleSeat") and a[z].Name ~= script.Parent.Name and a[z].Name ~= "Glow" and (a[z].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
  138. a[z].Material = Enum.Material.CorrodedMetal
  139. a[z].Anchored = false
  140. a[z]:BreakJoints()
  141. end
  142. if (a[z].className == "Model") then
  143. end
  144. local p = a[z]:GetChildren()
  145. for l =1,#p do
  146. if ((p[l].className == "Part" or p[l].className == "TrussPart" or p[l].className == "WedgePart" or p[l].className == "Seat" or p[l].className == "VehicleSeat") and p[l].Name ~= script.Parent.Name and p[l].Name ~= "Glow" and (p[l].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
  147. p[l].Material = Enum.Material.CorrodedMetal
  148. p[l].Anchored = false
  149. p[l]:BreakJoints()
  150. end
  151. end
  152. end
  153. end
  154. end
  155. end
  156. wait(.3)
  157. end
  158.  
  159. end))
  160. Script4.Disabled = true
  161. Script5.Name = "Script4"
  162. Script5.Parent = Part2
  163. table.insert(cors,sandbox(Script5,function()
  164. while true do
  165. c = game.Workspace:GetChildren()
  166. for i =1,#c do
  167. if (c[i].className == "Model") then
  168. end
  169. g = c[i]:GetChildren()
  170. for j =1,#g do
  171. if (g[j].className == "Humanoid" and g[j].Parent:FindFirstChild("Torso") and g[j].Parent:FindFirstChild("ForceField") == nil) then
  172. if ((g[j].Parent.Torso.Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
  173. g[j].Parent:BreakJoints()
  174. end end
  175. if (g[j].className == "Part" and g[j].Parent:FindFirstChild("Torso") and g[j].Parent:FindFirstChild("ForceField") == nil) then
  176. if ((g[j].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
  177. g[j].Material = Enum.Material.CorrodedMetal
  178. g[j].Anchored = false
  179. g[j]:BreakJoints()
  180. end end
  181. t = g[j]:GetChildren()
  182. for s =1,#t do
  183. if ((t[s].className == "Part" or t[s].className == "TrussPart" or t[s].className == "WedgePart" or t[s].className == "Seat" or t[s].className == "VehicleSeat") and t[s].Locked == false and t[s].Name ~= script.Parent.Name and t[s].Name ~= "Glow" and (t[s].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
  184. t[s].Material = Enum.Material.CorrodedMetal
  185. t[s].Anchored = false
  186. t[s]:BreakJoints()
  187. end
  188. if (t[s].className == "Model") then
  189. end
  190. a = t[s]:GetChildren()
  191. for z =1,#a do
  192. if ((a[z].className == "Part" or a[z].className == "TrussPart" or a[z].className == "WedgePart" or a[z].className == "Seat" or a[z].className == "VehicleSeat") and a[z].Locked == false and a[z].Name ~= script.Parent.Name and a[z].Name ~= "Glow" and (a[z].Position - script.Parent.Position).magnitude < script.Parent.Parent.Size.Value) then
  193. a[z].Material = Enum.Material.CorrodedMetal
  194. a[z].Anchored = false
  195. a[z]:BreakJoints()
  196. end
  197. if (a[z].className == "Model") then
  198. end
  199. end
  200. end
  201. end
  202. end
  203. wait(.3)
  204. end
  205.  
  206. end))
  207. Script5.Disabled = true
  208. SpecialMesh6.Parent = Part2
  209. SpecialMesh6.Scale = Vector3.new(0, 0, 0)
  210. SpecialMesh6.MeshType = Enum.MeshType.Sphere
  211. Part7.Name = "Glow"
  212. Part7.Parent = Model1
  213. Part7.CFrame = CFrame.new(-1.78995502, 2.14905691, 0.639145017, -1, -3.88290999e-09, -4.05711909e-08, 6.87041624e-09, 0.965347111, -0.260973543, 4.01444957e-08, -0.260973543, -0.965347111)
  214. Part7.Orientation = Vector3.new(15.1300001, -180, 0)
  215. Part7.Position = Vector3.new(-1.78995502, 2.14905691, 0.639145017)
  216. Part7.Rotation = Vector3.new(164.869995, 0, 180)
  217. Part7.Color = Color3.new(0.835294, 0.45098, 0.239216)
  218. Part7.Transparency = 1
  219. Part7.Velocity = Vector3.new(-0.00150882092, -0.0143409707, 8.56878382e-17)
  220. Part7.Size = Vector3.new(0.200000003, 1.20000005, 0.200000003)
  221. Part7.Anchored = true
  222. Part7.BottomSurface = Enum.SurfaceType.Smooth
  223. Part7.BrickColor = BrickColor.new("Neon orange")
  224. Part7.RotVelocity = Vector3.new(4.25556566e-17, 4.7048353e-19, 0.000739662792)
  225. Part7.TopSurface = Enum.SurfaceType.Smooth
  226. Part7.brickColor = BrickColor.new("Neon orange")
  227. Part7.FormFactor = Enum.FormFactor.Custom
  228. Part7.formFactor = Enum.FormFactor.Custom
  229. SpecialMesh8.Parent = Part7
  230. SpecialMesh8.Scale = Vector3.new(4, 1, 4)
  231. SpecialMesh8.MeshType = Enum.MeshType.Brick
  232. NumberValue9.Name = "Size"
  233. NumberValue9.Parent = Model1
  234. NumberValue9.Value = 2.9
  235. NumberValue10.Name = "NukeSize"
  236. NumberValue10.Parent = Model1
  237. NumberValue10.Value = 1e+23
  238. Script11.Name = "Blast"
  239. Script11.Parent = Model1
  240. table.insert(cors,sandbox(Script11,function()
  241. for i = 1, script.Parent.NukeSize.Value do --How big it's gonna be! O.o
  242. script.Parent.Glow.Mesh.Scale = script.Parent.Glow.Mesh.Scale + Vector3.new(1, 0, 1)
  243. script.Parent.Main.Mesh.Scale = script.Parent.Main.Mesh.Scale + Vector3.new(1, 1, 1)
  244. script.Parent.Size.Value = script.Parent.Size.Value +2
  245. wait()
  246. end
  247. for i =1, 6 do
  248. wait(2)
  249. script.Parent.Main.Transparency = script.Parent.Main.Transparency +1
  250. end
  251. wait(2)
  252. script.Parent.Parent:Remove()
  253.  
  254.  
  255. end))
  256. Script11.Disabled = true
  257. Sound12.Name = "music"
  258. Sound12.Parent = Model1
  259. Sound12.SoundId = "http://www.roblox.com/asset/?id=130768997"
  260. Sound12.Volume = 1
  261. Model13.Name = "selfdestructsystem"
  262. Model13.Parent = Model0
  263. Script14.Name = "Gate"
  264. Script14.Parent = Model13
  265. table.insert(cors,sandbox(Script14,function()
  266. local g = Instance.new("Hint",workspace)
  267. g.Text = "Warning! The self Destruct sequence has been activated!"
  268. wait(2)
  269. g:Destroy()
  270. script.Serverlite.Disabled = false
  271. script.ReverseAlarm.Disabled = false
  272. --script.warn1:Play()
  273. --wait(19)
  274. script.music:Play()
  275. wait(9)
  276. script.music6:Play()
  277. local msg = Instance.new("Message")
  278. msg.Parent = game.Workspace
  279. msg.Name = 'HelloBrick'
  280. msg.Text = "Warning: Self Destruct System initiated"
  281. wait(4)
  282. msg.Text = "Make Sure To Evac The Facility"
  283. wait(3.2)
  284. script.music6:Stop()
  285. game.Workspace.HelloBrick:remove()
  286. wait(1)
  287. script.Countdown.Disabled = false
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298. end))
  299. Script14.Disabled = true
  300. Sound15.Name = "music"
  301. Sound15.Parent = Script14
  302. Sound15.SoundId = "http://www.roblox.com/asset/?id=130894143"
  303. Sound15.Volume = 1
  304. Sound16.Name = "music1"
  305. Sound16.Parent = Script14
  306. Sound16.SoundId = "http://www.roblox.com/asset/?id=130894379"
  307. Sound16.Volume = 1
  308. Sound17.Name = "music2"
  309. Sound17.Parent = Script14
  310. Sound17.SoundId = "http://www.roblox.com/asset/?id=130886114"
  311. Sound17.Volume = 1
  312. Sound18.Name = "music3"
  313. Sound18.Parent = Script14
  314. Sound18.SoundId = "http://www.roblox.com/asset/?id=130886089"
  315. Sound18.Volume = 1
  316. Sound19.Name = "music4"
  317. Sound19.Parent = Script14
  318. Sound19.SoundId = "http://www.roblox.com/asset/?id=130894483"
  319. Sound19.Volume = 1
  320. Sound20.Name = "music5"
  321. Sound20.Parent = Script14
  322. Sound20.SoundId = "http://www.roblox.com/asset/?id=130895130"
  323. Sound20.Volume = 1
  324. Sound21.Name = "music6"
  325. Sound21.Parent = Script14
  326. Sound21.Looped = true
  327. Sound21.SoundId = "http://www.roblox.com/asset/?id=138080226"
  328. Sound21.Volume = 1
  329. Sound22.Name = "music7"
  330. Sound22.Parent = Script14
  331. Sound22.Looped = true
  332. Sound22.SoundId = "http://www.roblox.com/asset/?id=141279377"
  333. Sound22.Volume = 1
  334. Sound23.Name = "firesound"
  335. Sound23.Parent = Script14
  336. Sound23.Looped = true
  337. Sound23.SoundId = "http://www.roblox.com/asset/?id=31760113"
  338. Sound23.Volume = 0.10000000149012
  339. Sound24.Name = "explosiondistant"
  340. Sound24.Parent = Script14
  341. Sound24.Pitch = 0.20000000298023
  342. Sound24.PlaybackSpeed = 0.20000000298023
  343. Sound24.SoundId = "http://roblox.com/asset/?id=10209859"
  344. Sound24.Volume = 1
  345. Sound25.Name = "explosionbang"
  346. Sound25.Parent = Script14
  347. Sound25.PlayOnRemove = true
  348. Sound25.SoundId = "http://www.roblox.com/asset/?id=2248511"
  349. Sound25.Volume = 0.30000001192093
  350. Script26.Name = "Countdown"
  351. Script26.Parent = Script14
  352. table.insert(cors,sandbox(Script26,function()
  353. local Countdown = 1277
  354. script.Parent.Alarmy:play()
  355. script.Parent.Epic:Play()
  356.  
  357.  
  358.  
  359. local Count = Countdown
  360. local m = Instance.new("Hint", game.Workspace)
  361. while true do
  362. if Countdown == 9.99 then
  363. Countdown = Count
  364. else
  365. wait(0.1)
  366. m.Text = "T-"..Countdown.." to your last charge escape."
  367.  
  368. Countdown = Countdown - 1
  369.  
  370.  
  371.  
  372. if m.Text == "T-0 to your last charge escape." then
  373. m:remove()
  374. script.Parent.Voice.Disabled = false
  375. script.Parent.Explosion01:Play()
  376. script.Parent.Alarmy:stop()
  377.  
  378.  
  379.  
  380. end
  381. end
  382. end
  383.  
  384.  
  385.  
  386. end))
  387. Script26.Disabled = true
  388. Script27.Name = "Voice"
  389. Script27.Parent = Script14
  390. table.insert(cors,sandbox(Script27,function()
  391. wait(1)
  392. script.about2die.Disabled = false
  393. --script.Parent.Soon2Die:stop()
  394. script.OMGYES:Play()
  395. --script.Parent.TenToZero:Play()
  396. --script.Parent.Tsunami:Play()
  397. script.Parent.Epic:stop()
  398. script.Parent.Music1338:stop()
  399. wait(14.5)
  400. game.Workspace.ABOUT2DIE:Destroy()
  401. script.about2die.Disabled = true
  402.  
  403. --wait(13)
  404.  
  405.  
  406. --game.Lighting.Ambient=Color3.new(255,0,0)
  407. --script.Parent.Explosion02:Play()
  408. script.Parent.MUCHBIG:Play()
  409. --script.Parent.End:Play()
  410. --wait(3)
  411.  
  412. --script.Parent.explosion:Play()
  413.  
  414. --script.Parent.explosionbang:Play()
  415. --script.Parent.explosiondistant:Play()
  416. --script.Parent.firesound:Play()
  417.  
  418.  
  419.  
  420. --wait(10)
  421. --script.Parent.Explosion01:Play()
  422. --wait(5)
  423. --script.Parent.Explosion03:Play()
  424. --wait(2)
  425. game.Workspace.Nuke.Blast.Disabled = false
  426. game.Workspace.Nuke.Main.Script3.Disabled = false
  427. game.Workspace.Nuke.Main.Script4.Disabled = false
  428. game.Workspace.Nuke.Main.Transparency = 0.7
  429. --game.Workspace.Nuke.Glow.Transparency = 0
  430.  
  431. wait(2)
  432. script.NOOO.Play()
  433. --wait(10)
  434. script.Parent.CountMusic:stop()
  435.  
  436. wait(30)
  437. script.Parent.Die:play()
  438. wait(20)
  439.  
  440. local m = Instance.new("Hint", game.Workspace)
  441. m.Text = "Sever Terrain Ruined, Reseting... Please Wait.."
  442. wait(10)
  443. m.Text = "Sever Reseted. Game Is Shutdown. ~Rejoin City Builders~"
  444.  
  445. for _,v in pairs(game.Players:GetPlayers()) do
  446. v:Remove()
  447. end
  448.  
  449.  
  450.  
  451.  
  452. end))
  453. Script27.Disabled = true
  454. Script28.Name = "Detonate"
  455. Script28.Parent = Script27
  456. table.insert(cors,sandbox(Script28,function()
  457.  
  458.  
  459.  
  460.  
  461. local m = Instance.new("Hint", game.Workspace)
  462.  
  463.  
  464.  
  465. m.Text = "! 10 !"
  466. wait(1)
  467.  
  468. m.Text = " 9 "
  469. wait(1)
  470.  
  471. m.Text = "! 8 !"
  472. wait(1)
  473.  
  474. m.Text = " 7 "
  475. wait(1)
  476. m.Text = "! 6 !"
  477. wait(1)
  478. m.Text = " 5 "
  479. wait(1)
  480. m.Text = "! 4 !"
  481. wait(1)
  482. m.Text = " 3 "
  483. wait(1)
  484. m.Text = "! 2 !"
  485. wait(1)
  486. m.Text = " 1 "
  487. wait(1)
  488. m.Text = "! DESTROY !"
  489. wait(1.6)
  490. m:remove()
  491.  
  492.  
  493.  
  494. end))
  495. Script28.Disabled = true
  496. Sound29.Name = "OMGYES"
  497. Sound29.Parent = Script27
  498. Sound29.SoundId = "http://www.roblox.com/asset/?id=173555731"
  499. Sound29.Volume = 1
  500. Script30.Name = "about2die"
  501. Script30.Parent = Script27
  502. table.insert(cors,sandbox(Script30,function()
  503.  
  504.  
  505.  
  506.  
  507. local die = Instance.new("Hint", game.Workspace)
  508. die.Name = "ABOUT2DIE"
  509.  
  510. while true do
  511.  
  512. die.Text = "! ABOUT2DIE !"
  513. wait(0.1)
  514. die.Text = "!! ABOUT2DIE !!"
  515. wait(0.1)
  516. die.Text = "!!! ABOUT2DIE !!!"
  517. wait(0.1)
  518. die.Text = "!!!! ABOUT2DIE !!!!"
  519. wait(0.1)
  520. die.Text = "!!!!! ABOUT2DIE !!!!!"
  521. wait(0.1)
  522. die.Text = "!!!! ABOUT2DIE !!!!"
  523. wait(0.1)
  524. die.Text = "!!! ABOUT2DIE !!!"
  525. wait(0.1)
  526. die.Text = "!! ABOUT2DIE !!"
  527. wait(0.1)
  528. die.Text = "! ABOUT2DIE !"
  529. wait(0.1)
  530.  
  531. end
  532.  
  533.  
  534.  
  535.  
  536. end))
  537. Script30.Disabled = true
  538. Sound31.Name = "NOOO"
  539. Sound31.Parent = Script27
  540. Sound31.SoundId = "http://www.roblox.com/asset/?id=133507013"
  541. Sound31.Volume = 1
  542. Script32.Name = "Start"
  543. Script32.Parent = Script14
  544. table.insert(cors,sandbox(Script32,function()
  545. while true do
  546. wait(5)
  547. if game.Workspace.Temp.Current.Value > 1300 then
  548.  
  549. game.Workspace.Gate.Disabled = false
  550. end
  551. end
  552.  
  553.  
  554. end))
  555. Sound33.Name = "Alarmy"
  556. Sound33.Parent = Script14
  557. Sound33.Looped = true
  558. Sound33.SoundId = "http://www.roblox.com/asset/?id=135587922"
  559. Sound33.Volume = 0.10000000149012
  560. Script34.Name = "ReverseAlarm"
  561. Script34.Parent = Script14
  562. table.insert(cors,sandbox(Script34,function()
  563. while true do
  564. wait(1)
  565. local WarningLights ={}for i,v in pairs(workspace:GetChildren())do if v.Name=="WarningLight"then table.insert(WarningLights,v)end end
  566. for i,WarningLight in pairs(WarningLights)do
  567.  
  568. WarningLight.Toggle.Value = true
  569.  
  570.  
  571. end
  572.  
  573. end
  574.  
  575.  
  576.  
  577. end))
  578. Script34.Disabled = true
  579. Script35.Name = "Alarms"
  580. Script35.Parent = Script14
  581. table.insert(cors,sandbox(Script35,function()
  582. while true do
  583. wait(1)
  584. if game.Workspace.PBCCSelfDestruct.selfdestructsystem.SelfDestructProtocol.Head.Script > true then
  585. local WarningLights ={}for i,v in pairs(workspace:GetChildren())do if v.Name=="WarningLight"then table.insert(WarningLights,v)end end
  586. for i,WarningLight in pairs(WarningLights)do
  587.  
  588. WarningLight.Toggle.Value = true
  589.  
  590.  
  591. end
  592.  
  593. end
  594. end
  595.  
  596.  
  597. end))
  598. Script36.Name = "Shake2"
  599. Script36.Parent = Script14
  600. table.insert(cors,sandbox(Script36,function()
  601. local childList = { }
  602.  
  603. function checkObject(obj)
  604. if (obj.className == "Part") then
  605. if (obj.Locked == false) then
  606. table.insert(childList, 1, obj)
  607. end
  608. elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  609. local child = obj:GetChildren()
  610. for x = 1, #child do
  611. checkObject(child[x])
  612. end
  613. obj.ChildAdded:connect(checkObject)
  614. end
  615. end
  616.  
  617. checkObject(game.Workspace)
  618.  
  619. local n = 0
  620.  
  621. while true do
  622. wait(.001)
  623. if n < #childList then
  624. n = n + 1
  625. if n % 800 == 0 then
  626. wait()
  627. end
  628. else
  629. n = 1
  630. wait()
  631. end
  632. local p = math.random(n)
  633. local child = childList[p]
  634.  
  635. child.Anchored = false
  636. child:BreakJoints()
  637. table.remove(childList, p)
  638. end
  639.  
  640. end))
  641. Script36.Disabled = true
  642. Sound37.Name = "MUCHBIG"
  643. Sound37.Parent = Script14
  644. Sound37.PlayOnRemove = true
  645. Sound37.SoundId = "http://www.roblox.com/asset/?id=NOPE"
  646. Sound37.Volume = 1
  647. Sound38.Name = "TenToZero"
  648. Sound38.Parent = Script14
  649. Sound38.SoundId = "http://www.roblox.com/asset/?id=131018898"
  650. Sound38.Volume = 1
  651. Sound39.Name = "Explosion01"
  652. Sound39.Parent = Script14
  653. Sound39.SoundId = "http://www.roblox.com/asset/?id=138210320"
  654. Sound39.Volume = 1
  655. Sound40.Name = "Explosion02"
  656. Sound40.Parent = Script14
  657. Sound40.SoundId = "http://www.roblox.com/asset/?id=138104921"
  658. Sound40.Volume = 1
  659. Sound41.Name = "Explosion03"
  660. Sound41.Parent = Script14
  661. Sound41.SoundId = "http://www.roblox.com/asset/?id=133680244"
  662. Sound41.Volume = 1
  663. Sound42.Name = "CountMusic"
  664. Sound42.Parent = Script14
  665. Sound42.Looped = true
  666. Sound42.SoundId = "rbxassetid://646752174"
  667. Sound42.Volume = 0.30000001192093
  668. Sound43.Name = "Die"
  669. Sound43.Parent = Script14
  670. Sound43.SoundId = "http://www.roblox.com/asset/?id=142288053"
  671. Sound43.Volume = 1
  672. Sound44.Name = "Spy"
  673. Sound44.Parent = Script14
  674. Sound44.SoundId = "http://www.roblox.com/asset/?id=144107944"
  675. Sound44.Volume = 1
  676. Sound45.Name = "Music1337"
  677. Sound45.Parent = Script14
  678. Sound45.Looped = true
  679. Sound45.SoundId = "http://www.roblox.com/asset/?id=142402582"
  680. Sound45.Volume = 1
  681. Script46.Name = "Serverlite"
  682. Script46.Parent = Script14
  683. table.insert(cors,sandbox(Script46,function()
  684. local tab = {}
  685. function GetAllDL(ta, p)
  686. for _, d in pairs(p:GetChildren()) do
  687. if d:IsA("SpotLight") or d:IsA("PointLight") then
  688. table.insert(ta,d)
  689. elseif d:IsA("BasePart") or d:IsA("Model") then
  690. GetAllDL(ta,d)
  691. end
  692. end
  693. end
  694.  
  695.  
  696. GetAllDL(tab,workspace)
  697. wait(2)
  698. for _, g in pairs(tab) do
  699. if g ~= nil then
  700. g.Color = Color3.new(255,0,0)
  701. g.Parent.BrickColor = BrickColor.new("Bright red")
  702. end
  703. end
  704.  
  705.  
  706.  
  707.  
  708.  
  709. end))
  710. Script46.Disabled = true
  711. Sound47.Name = "Music1338"
  712. Sound47.Parent = Script14
  713. Sound47.Looped = true
  714. Sound47.SoundId = "http://www.roblox.com/asset/?id=142367679"
  715. Sound47.Volume = 1
  716. Sound48.Name = "End"
  717. Sound48.Parent = Script14
  718. Sound48.SoundId = "http://www.roblox.com/asset/?id=143492438"
  719. Sound48.Volume = 1
  720. Script49.Name = "Shake"
  721. Script49.Parent = Script14
  722. table.insert(cors,sandbox(Script49,function()
  723. local childList = { }
  724.  
  725. function checkObject(obj)
  726. if (obj.className == "Part") then
  727. if (obj.Locked == false) then
  728. table.insert(childList, 1, obj)
  729. end
  730. elseif (obj.className == "Model") or (obj.className == "Hat") or (obj.className == "Tool") or (obj == workspace) then
  731. local child = obj:GetChildren()
  732. for x = 1, #child do
  733. checkObject(child[x])
  734. end
  735. obj.ChildAdded:connect(checkObject)
  736. end
  737. end
  738.  
  739. checkObject(game.Workspace)
  740.  
  741. local n = 0
  742.  
  743. while true do
  744. wait(.1)
  745. if n < #childList then
  746. n = n + 1
  747. if n % 800 == 0 then
  748. wait()
  749. end
  750. else
  751. n = 1
  752. wait()
  753. end
  754. local p = math.random(n)
  755. local child = childList[p]
  756.  
  757. child.Anchored = false
  758. child:BreakJoints()
  759. table.remove(childList, p)
  760. end
  761.  
  762. end))
  763. Script49.Disabled = true
  764. Script50.Name = "Start3"
  765. Script50.Parent = Script14
  766. table.insert(cors,sandbox(Script50,function()
  767. while true do
  768. wait(5)
  769. if game.Workspace.Temp.Current.Value > 1200 then
  770.  
  771. script.Parent.Spy:play()
  772.  
  773. wait(2)
  774. script:remove()
  775. end
  776. end
  777.  
  778.  
  779. end))
  780. Sound51.Name = "Epic"
  781. Sound51.Parent = Script14
  782. Sound51.Looped = true
  783. Sound51.SoundId = "http://www.roblox.com/asset/?id=161346099"
  784. Sound51.Volume = 1
  785. Sound52.Name = "warn2"
  786. Sound52.Parent = Script14
  787. Sound52.SoundId = "http://www.roblox.com/asset/?id=132505666"
  788. Sound52.Volume = 0.60000002384186
  789. Sound53.Name = "warn1"
  790. Sound53.Parent = Script14
  791. Sound53.SoundId = "http://www.roblox.com/asset/?id=132506361"
  792. Sound53.Volume = 0.60000002384186
  793. Script54.Name = "[IMPORTANT] READ ME"
  794. Script54.Parent = Model13
  795. table.insert(cors,sandbox(Script54,function()
  796. --Thanks for taking my self destruct system!
  797. --Please leave the nuke model in workspace and position it anywhere you want!
  798. --Do NOT clone the Nuke or it will not work. The WarningLight may be cloned anywhere you want.
  799. --Only edit the script if you know what you are doing. The scripts are Gate, and the scripts inside Gate.
  800. --There are some unused sounds you may use. Anyways, thanks for using my self destruct system,
  801. --and have a nice day!
  802. end))
  803. Model55.Name = "SelfDestructProtocol"
  804. Model55.Parent = Model13
  805. Humanoid56.Parent = Model55
  806. Humanoid56.Health = 0
  807. Humanoid56.MaxHealth = 0
  808. Humanoid56.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  809. Humanoid56.maxHealth = 0
  810. Part57.Parent = Model55
  811. Part57.CFrame = CFrame.new(0.0700000003, 0.814647019, -0.209976003, 1, 3.12245807e-09, 5.32602185e-09, -3.12244808e-09, 1, -1.87474848e-06, -5.32602762e-09, 1.87474848e-06, 1)
  812. Part57.Position = Vector3.new(0.0700000003, 0.814647019, -0.209976003)
  813. Part57.Size = Vector3.new(5, 1.20000005, 5)
  814. Part57.Anchored = true
  815. Part57.Reflectance = 0.5
  816. CylinderMesh58.Parent = Part57
  817. Snap59.Parent = Part57
  818. Snap59.C0 = CFrame.new(0, 0.600000024, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  819. Snap59.C1 = CFrame.new(0, -0.600102782, 2.23517418e-06, -1, 0, 7.04477302e-18, -7.04477302e-18, 0, 1, 0, 1, 0)
  820. Snap59.Part0 = Part57
  821. Snap59.Part1 = Part60
  822. Snap59.part1 = Part60
  823. Part60.Name = "Head"
  824. Part60.Parent = Model55
  825. Part60.CFrame = CFrame.new(0.0700000003, 2.01475, -0.209976003, 1, 3.12245807e-09, 5.32602185e-09, -3.12244808e-09, 1, -1.87474848e-06, -5.32602762e-09, 1.87474848e-06, 1)
  826. Part60.Position = Vector3.new(0.0700000003, 2.01475, -0.209976003)
  827. Part60.Color = Color3.new(1, 0, 0)
  828. Part60.Size = Vector3.new(5, 1.20000005, 5)
  829. Part60.Anchored = true
  830. Part60.BrickColor = BrickColor.new("Really red")
  831. Part60.brickColor = BrickColor.new("Really red")
  832. CylinderMesh61.Parent = Part60
  833. CylinderMesh61.Scale = Vector3.new(0.75, 1, 0.75)
  834. Script62.Parent = Part60
  835. table.insert(cors,sandbox(Script62,function()
  836. local functiononClicked
  837. script.Parent.Parent.Parent.Gate.Disabled = false
  838. end
  839. )
  840. )
  841.  
  842. ClickDetector63.Parent = Part60
  843. for i,v in pairs(mas:GetChildren()) do
  844. v.Parent = workspace
  845. pcall(function() v:MakeJoints() end)
  846. end
  847. mas:Destroy()
  848. for i,v in pairs(cors) do
  849. spawn(function()
  850. pcall(v)
  851. end)
  852. end
Advertisement
Add Comment
Please, Sign In to add comment