Advertisement
AxeuerAlt

Untitled

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