Advertisement
Animescapetower

Nuke Script

Mar 12th, 2018
620
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.40 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. local chil = workspace:GetChildren()
  20. for i,v in pairs(chil) do
  21. if not (v==script or v:IsA("Camera") or v:IsA("Terrain") or game:GetService("Players"):GetPlayerFromCharacter(v)~=nil) then
  22. v:Destroy()
  23. end
  24. end
  25. Part0 = Instance.new("Part")
  26. Backpack1 = Instance.new("Backpack")
  27. Backpack2 = Instance.new("Backpack")
  28. Model3 = Instance.new("Model")
  29. Part4 = Instance.new("Part")
  30. SpecialMesh5 = Instance.new("SpecialMesh")
  31. Script6 = Instance.new("Script")
  32. PointLight7 = Instance.new("PointLight")
  33. Script8 = Instance.new("Script")
  34. Script9 = Instance.new("Script")
  35. Script10 = Instance.new("Script")
  36. Script11 = Instance.new("Script")
  37. Script12 = Instance.new("Script")
  38. Script13 = Instance.new("Script")
  39. Part14 = Instance.new("Part")
  40. SpecialMesh15 = Instance.new("SpecialMesh")
  41. Script16 = Instance.new("Script")
  42. PointLight17 = Instance.new("PointLight")
  43. Script18 = Instance.new("Script")
  44. Script19 = Instance.new("Script")
  45. Script20 = Instance.new("Script")
  46. Script21 = Instance.new("Script")
  47. Script22 = Instance.new("Script")
  48. Script23 = Instance.new("Script")
  49. Script24 = Instance.new("Script")
  50. Part25 = Instance.new("Part")
  51. Script26 = Instance.new("Script")
  52. Script27 = Instance.new("Script")
  53. PointLight28 = Instance.new("PointLight")
  54. Script29 = Instance.new("Script")
  55. Script30 = Instance.new("Script")
  56. Script31 = Instance.new("Script")
  57. Script32 = Instance.new("Script")
  58. Script33 = Instance.new("Script")
  59. Script34 = Instance.new("Script")
  60. Part35 = Instance.new("Part")
  61. SpecialMesh36 = Instance.new("SpecialMesh")
  62. PointLight37 = Instance.new("PointLight")
  63. Script38 = Instance.new("Script")
  64. Script39 = Instance.new("Script")
  65. Script40 = Instance.new("Script")
  66. Script41 = Instance.new("Script")
  67. Script42 = Instance.new("Script")
  68. Script43 = Instance.new("Script")
  69. Part44 = Instance.new("Part")
  70. SpecialMesh45 = Instance.new("SpecialMesh")
  71. PointLight46 = Instance.new("PointLight")
  72. Script47 = Instance.new("Script")
  73. Script48 = Instance.new("Script")
  74. Script49 = Instance.new("Script")
  75. Script50 = Instance.new("Script")
  76. Script51 = Instance.new("Script")
  77. Script52 = Instance.new("Script")
  78. Part53 = Instance.new("Part")
  79. SpecialMesh54 = Instance.new("SpecialMesh")
  80. PointLight55 = Instance.new("PointLight")
  81. Script56 = Instance.new("Script")
  82. Script57 = Instance.new("Script")
  83. Script58 = Instance.new("Script")
  84. Script59 = Instance.new("Script")
  85. Script60 = Instance.new("Script")
  86. Script61 = Instance.new("Script")
  87. Part62 = Instance.new("Part")
  88. SpecialMesh63 = Instance.new("SpecialMesh")
  89. PointLight64 = Instance.new("PointLight")
  90. Script65 = Instance.new("Script")
  91. Script66 = Instance.new("Script")
  92. Script67 = Instance.new("Script")
  93. Script68 = Instance.new("Script")
  94. Script69 = Instance.new("Script")
  95. Script70 = Instance.new("Script")
  96. Part71 = Instance.new("Part")
  97. SpecialMesh72 = Instance.new("SpecialMesh")
  98. PointLight73 = Instance.new("PointLight")
  99. Script74 = Instance.new("Script")
  100. Script75 = Instance.new("Script")
  101. Script76 = Instance.new("Script")
  102. Script77 = Instance.new("Script")
  103. Script78 = Instance.new("Script")
  104. Script79 = Instance.new("Script")
  105. Part0.Name = "Baseplate"
  106. Part0.Parent = mas
  107. Part0.BrickColor = BrickColor.new("Dark stone grey")
  108. Part0.Anchored = true
  109. Part0.Locked = true
  110. Part0.FormFactor = Enum.FormFactor.Symmetric
  111. Part0.Size = Vector3.new(512, 20, 512)
  112. Part0.CFrame = CFrame.new(0, -10, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  113. Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
  114. Part0.Position = Vector3.new(0, -10, 0)
  115. Part0.Color = Color3.new(0.388235, 0.372549, 0.384314)
  116. Backpack1.Name = "_CPData"
  117. Backpack1.Parent = mas
  118. Backpack2.Name = "_CPData"
  119. Backpack2.Parent = mas
  120. Model3.Parent = mas
  121. Part4.Name = "Ring"
  122. Part4.Parent = Model3
  123. Part4.Material = Enum.Material.SmoothPlastic
  124. Part4.BrickColor = BrickColor.new("Bright red")
  125. Part4.Rotation = Vector3.new(5.53999996, 41.079998, -78.0199966)
  126. Part4.Anchored = true
  127. Part4.FormFactor = Enum.FormFactor.Custom
  128. Part4.Size = Vector3.new(9.70093632, 9.70093632, 9.70093632)
  129. Part4.CFrame = CFrame.new(16.7400017, 14.2617216, -47.0400085, 0.156453997, 0.737413406, 0.657072008, -0.960492969, 0.268622905, -0.0727670416, -0.230164006, -0.619728327, 0.7503075)
  130. Part4.BottomSurface = Enum.SurfaceType.Smooth
  131. Part4.TopSurface = Enum.SurfaceType.Smooth
  132. Part4.Color = Color3.new(0.768628, 0.156863, 0.109804)
  133. Part4.Position = Vector3.new(16.7400017, 14.2617216, -47.0400085)
  134. Part4.Orientation = Vector3.new(4.17000008, 41.2099991, -74.3799973)
  135. Part4.Color = Color3.new(0.768628, 0.156863, 0.109804)
  136. SpecialMesh5.Parent = Part4
  137. SpecialMesh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
  138. SpecialMesh5.Scale = Vector3.new(19.4018631, 19.4018631, 19.4018631)
  139. SpecialMesh5.MeshType = Enum.MeshType.FileMesh
  140. SpecialMesh5.Scale = Vector3.new(19.4018631, 19.4018631, 19.4018631)
  141. Script6.Name = "Kill"
  142. Script6.Parent = Part4
  143. table.insert(cors,sandbox(Script6,function()
  144. function onTouched(part)
  145. local h = part.Parent:findFirstChild("Humanoid")
  146. if h~=nil then
  147. h.Health = 0
  148. end
  149. end
  150. script.Parent.Touched:connect(onTouched)
  151.  
  152. end))
  153. PointLight7.Parent = Part4
  154. PointLight7.Color = Color3.new(0.333333, 1, 1)
  155. PointLight7.Range = 60
  156. PointLight7.Color = Color3.new(0.333333, 1, 1)
  157. Script8.Parent = Part4
  158. table.insert(cors,sandbox(Script8,function()
  159. Speed = 2
  160. while true do
  161. for i = 0, 360, Speed do
  162. script.Parent.CFrame = CFrame.new(script.Parent.Position)*CFrame.fromEulerAnglesXYZ(math.rad(i), math.rad(i), math.rad(i))
  163. wait(.001)
  164. end
  165. end
  166.  
  167. end))
  168. Script9.Name = "StayInPosition"
  169. Script9.Parent = Part4
  170. table.insert(cors,sandbox(Script9,function()
  171. wait(0.1)
  172. pos = script.Parent.CFrame
  173. while true do
  174. script.Parent.CFrame = pos
  175. wait(0.000000000000000000000000000000000000000000000000001)
  176. end
  177. end))
  178. Script10.Name = "NUKEGrow"
  179. Script10.Parent = Part4
  180. table.insert(cors,sandbox(Script10,function()
  181. nuke = script.Parent.Mesh
  182. while wait(0.00001) do
  183. nuke.Scale = nuke.Scale + Vector3.new(2,2,2)
  184. end
  185.  
  186. end))
  187. Script11.Name = "Script3"
  188. Script11.Parent = Part4
  189. Script11.Disabled = true
  190. table.insert(cors,sandbox(Script11,function()
  191. while true do
  192. c = game.Workspace:GetChildren()
  193. for i =1,#c do
  194. 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
  195. c[i].Material = Enum.Material.CorrodedMetal
  196. c[i].Anchored = false
  197. c[i]:BreakJoints()
  198. end
  199. if (c[i].className == "Model") then
  200. end
  201. g = c[i]:GetChildren()
  202. for j =1,#g do
  203. 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
  204. g[j].Material = Enum.Material.CorrodedMetal
  205. g[j].Anchored = false
  206. g[j]:BreakJoints()
  207. end
  208. if (g[j].className == "Model") then
  209. end
  210. t = g[j]:GetChildren()
  211. for s =1,#t do
  212. 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
  213. t[s].Material = Enum.Material.CorrodedMetal
  214. t[s].Anchored = false
  215. t[s]:BreakJoints()
  216. end
  217. if (t[s].className == "Model") then
  218. end
  219. a = t[s]:GetChildren()
  220. for z =1,#a do
  221. 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
  222. a[z].Material = Enum.Material.CorrodedMetal
  223. a[z].Anchored = false
  224. a[z]:BreakJoints()
  225. end
  226. if (a[z].className == "Model") then
  227. end
  228. p = a[z]:GetChildren()
  229. for l =1,#p do
  230. 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
  231. p[l].Material = Enum.Material.CorrodedMetal
  232. p[l].Anchored = false
  233. p[l]:BreakJoints()
  234. end
  235. end
  236. end
  237. end
  238. end
  239. end
  240. wait(.3)
  241. end
  242.  
  243. end))
  244. Script12.Name = "Explode"
  245. Script12.Parent = Part4
  246. table.insert(cors,sandbox(Script12,function()
  247. local explosion = script.Parent
  248. function blow(hit)
  249. local h = hit.Parent:FindFirstChild("Humanoid")--The Humanoid
  250.  
  251. if (h ~= nil) then --Check If The Humanoid Is There
  252. explosion = Instance.new("Explosion")--Create An Explosion
  253. explosion.Position = script.Parent.Position --The Explosions Position Is The Brick
  254. explosion.BlastRadius = 100 --A 5 by 5 Explosion.
  255. explosion.BlastPressure = 1000
  256.  
  257.  
  258. explosion.Parent = game.Workspace --You got to be able to see it.
  259. end
  260.  
  261. end
  262.  
  263. script.Parent.Touched:connect(blow)
  264.  
  265.  
  266. end))
  267. Script13.Name = "Gate2"
  268. Script13.Parent = Part4
  269. table.insert(cors,sandbox(Script13,function()
  270. --Reactor gate--
  271. wait(20)--Maby 15 or 20 will make it last
  272.  
  273. script.Parent.Explode.Disabled = true
  274. script.Parent.Kill.Disabled = true
  275. script.Parent.StayInPosition.Disabled = true
  276. script.Parent.Grow.Disabled = true
  277. script.Parent.Transparency = script.Parent.Transparency + 0.1
  278. end))
  279. Part14.Name = "CoreDestroyer"
  280. Part14.Parent = Model3
  281. Part14.Material = Enum.Material.SmoothPlastic
  282. Part14.BrickColor = BrickColor.new("Bright red")
  283. Part14.Rotation = Vector3.new(-85.4700012, 0.519999981, 5.42999983)
  284. Part14.Anchored = true
  285. Part14.FormFactor = Enum.FormFactor.Custom
  286. Part14.Size = Vector3.new(9.70093632, 9.70093632, 9.70093632)
  287. Part14.CFrame = CFrame.new(16.7400017, 14.2617216, -47.0400085, 0.995478988, -0.0945510343, 0.00904783048, -0.00150699995, 0.0795229748, 0.996831894, -0.0949710011, -0.992338777, 0.0790209547)
  288. Part14.BottomSurface = Enum.SurfaceType.Smooth
  289. Part14.TopSurface = Enum.SurfaceType.Smooth
  290. Part14.Color = Color3.new(0.768628, 0.156863, 0.109804)
  291. Part14.Position = Vector3.new(16.7400017, 14.2617216, -47.0400085)
  292. Part14.Orientation = Vector3.new(-85.4399948, 6.52999973, -1.09000003)
  293. Part14.Color = Color3.new(0.768628, 0.156863, 0.109804)
  294. SpecialMesh15.Parent = Part14
  295. SpecialMesh15.MeshId = "http://www.roblox.com/asset/?id=3270017"
  296. SpecialMesh15.Scale = Vector3.new(19.4018631, 19.4018631, 19.4018631)
  297. SpecialMesh15.MeshType = Enum.MeshType.FileMesh
  298. SpecialMesh15.Scale = Vector3.new(19.4018631, 19.4018631, 19.4018631)
  299. Script16.Name = "Kill"
  300. Script16.Parent = Part14
  301. table.insert(cors,sandbox(Script16,function()
  302. function onTouched(part)
  303. local h = part.Parent:findFirstChild("Humanoid")
  304. if h~=nil then
  305. h.Health = 0
  306. end
  307. end
  308. script.Parent.Touched:connect(onTouched)
  309.  
  310. end))
  311. PointLight17.Parent = Part14
  312. PointLight17.Color = Color3.new(0.333333, 1, 1)
  313. PointLight17.Range = 60
  314. PointLight17.Color = Color3.new(0.333333, 1, 1)
  315. Script18.Parent = Part14
  316. table.insert(cors,sandbox(Script18,function()
  317. Speed = 2
  318. while true do
  319. for i = 0, 360, Speed do
  320. script.Parent.CFrame = CFrame.new(script.Parent.Position)*CFrame.fromEulerAnglesXYZ(math.rad(i), math.rad(i), math.rad(i))
  321. wait(.001)
  322. end
  323. end
  324.  
  325. end))
  326. Script19.Name = "StayInPosition"
  327. Script19.Parent = Part14
  328. table.insert(cors,sandbox(Script19,function()
  329. wait(0.1)
  330. pos = script.Parent.CFrame
  331. while true do
  332. script.Parent.CFrame = pos
  333. wait(0.000000000000000000000000000000000000000000000000001)
  334. end
  335. end))
  336. Script20.Name = "NUKEGrow"
  337. Script20.Parent = Part14
  338. table.insert(cors,sandbox(Script20,function()
  339. nuke = script.Parent.Mesh
  340. while wait(0.00001) do
  341. nuke.Scale = nuke.Scale + Vector3.new(2,2,2)
  342. end
  343.  
  344. end))
  345. Script21.Name = "Script3"
  346. Script21.Parent = Part14
  347. Script21.Disabled = true
  348. table.insert(cors,sandbox(Script21,function()
  349. while true do
  350. c = game.Workspace:GetChildren()
  351. for i =1,#c do
  352. 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
  353. c[i].Material = Enum.Material.CorrodedMetal
  354. c[i].Anchored = false
  355. c[i]:BreakJoints()
  356. end
  357. if (c[i].className == "Model") then
  358. end
  359. g = c[i]:GetChildren()
  360. for j =1,#g do
  361. 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
  362. g[j].Material = Enum.Material.CorrodedMetal
  363. g[j].Anchored = false
  364. g[j]:BreakJoints()
  365. end
  366. if (g[j].className == "Model") then
  367. end
  368. t = g[j]:GetChildren()
  369. for s =1,#t do
  370. 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
  371. t[s].Material = Enum.Material.CorrodedMetal
  372. t[s].Anchored = false
  373. t[s]:BreakJoints()
  374. end
  375. if (t[s].className == "Model") then
  376. end
  377. a = t[s]:GetChildren()
  378. for z =1,#a do
  379. 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
  380. a[z].Material = Enum.Material.CorrodedMetal
  381. a[z].Anchored = false
  382. a[z]:BreakJoints()
  383. end
  384. if (a[z].className == "Model") then
  385. end
  386. p = a[z]:GetChildren()
  387. for l =1,#p do
  388. 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
  389. p[l].Material = Enum.Material.CorrodedMetal
  390. p[l].Anchored = false
  391. p[l]:BreakJoints()
  392. end
  393. end
  394. end
  395. end
  396. end
  397. end
  398. wait(.3)
  399. end
  400.  
  401. end))
  402. Script22.Name = "Explode"
  403. Script22.Parent = Part14
  404. table.insert(cors,sandbox(Script22,function()
  405. local explosion = script.Parent
  406. function blow(hit)
  407. local h = hit.Parent:FindFirstChild("Humanoid")--The Humanoid
  408.  
  409. if (h ~= nil) then --Check If The Humanoid Is There
  410. explosion = Instance.new("Explosion")--Create An Explosion
  411. explosion.Position = script.Parent.Position --The Explosions Position Is The Brick
  412. explosion.BlastRadius = 100 --A 5 by 5 Explosion.
  413. explosion.BlastPressure = 1000
  414.  
  415.  
  416. explosion.Parent = game.Workspace --You got to be able to see it.
  417. end
  418.  
  419. end
  420.  
  421. script.Parent.Touched:connect(blow)
  422.  
  423.  
  424. end))
  425. Script23.Name = "Grow"
  426. Script23.Parent = Part14
  427. table.insert(cors,sandbox(Script23,function()
  428. nuke = script.Parent
  429. while wait(0.00001) do
  430. nuke.Size = nuke.Size + Vector3.new(2,2,2)
  431. end
  432.  
  433. end))
  434. Script24.Name = "Gate3"
  435. Script24.Parent = Part14
  436. table.insert(cors,sandbox(Script24,function()
  437. --Reactor gate--
  438. wait(20)--Maby 15 or 20 will make it last
  439.  
  440. script.Parent.Explode.Disabled = true
  441. script.Parent.Kill.Disabled = true
  442. script.Parent.StayInPosition.Disabled = true
  443. script.Parent.Grow.Disabled = true
  444. script.Parent.Transparency = script.Parent.Transparency + 1.1
  445. end))
  446. Part25.Name = "ExplodeWave"
  447. Part25.Parent = Model3
  448. Part25.Material = Enum.Material.Neon
  449. Part25.BrickColor = BrickColor.new("New Yeller")
  450. Part25.Transparency = 0.60000002384186
  451. Part25.Anchored = true
  452. Part25.Shape = Enum.PartType.Ball
  453. Part25.Size = Vector3.new(26.849968, 26.849968, 26.849968)
  454. Part25.CFrame = CFrame.new(16.7400017, 14.581974, -47.0400085, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  455. Part25.BottomSurface = Enum.SurfaceType.Smooth
  456. Part25.TopSurface = Enum.SurfaceType.Smooth
  457. Part25.Color = Color3.new(1, 1, 0)
  458. Part25.Position = Vector3.new(16.7400017, 14.581974, -47.0400085)
  459. Part25.Color = Color3.new(1, 1, 0)
  460. Script26.Name = "Grow"
  461. Script26.Parent = Part25
  462. table.insert(cors,sandbox(Script26,function()
  463. nuke = script.Parent
  464. while wait(0.00001) do
  465. nuke.Size = nuke.Size + Vector3.new(2,2,2)
  466. end
  467.  
  468. end))
  469. Script27.Name = "Kill"
  470. Script27.Parent = Part25
  471. table.insert(cors,sandbox(Script27,function()
  472. function onTouched(part)
  473. local h = part.Parent:findFirstChild("Humanoid")
  474. if h~=nil then
  475. h.Health = 0
  476. end
  477. end
  478. script.Parent.Touched:connect(onTouched)
  479.  
  480. end))
  481. PointLight28.Parent = Part25
  482. PointLight28.Color = Color3.new(0.333333, 1, 1)
  483. PointLight28.Range = 60
  484. PointLight28.Color = Color3.new(0.333333, 1, 1)
  485. Script29.Parent = Part25
  486. table.insert(cors,sandbox(Script29,function()
  487. Speed = 2
  488. while true do
  489. for i = 0, 360, Speed do
  490. script.Parent.CFrame = CFrame.new(script.Parent.Position)*CFrame.fromEulerAnglesXYZ(math.rad(i), math.rad(i), math.rad(i))
  491. wait(.001)
  492. end
  493. end
  494.  
  495. end))
  496. Script30.Name = "StayInPosition"
  497. Script30.Parent = Part25
  498. table.insert(cors,sandbox(Script30,function()
  499. wait(0.1)
  500. pos = script.Parent.CFrame
  501. while true do
  502. script.Parent.CFrame = pos
  503. wait(0.000000000000000000000000000000000000000000000000001)
  504. end
  505. end))
  506. Script31.Name = "Script3"
  507. Script31.Parent = Part25
  508. Script31.Disabled = true
  509. table.insert(cors,sandbox(Script31,function()
  510. while true do
  511. c = game.Workspace:GetChildren()
  512. for i =1,#c do
  513. 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
  514. c[i].Material = Enum.Material.CorrodedMetal
  515. c[i].Anchored = false
  516. c[i]:BreakJoints()
  517. end
  518. if (c[i].className == "Model") then
  519. end
  520. g = c[i]:GetChildren()
  521. for j =1,#g do
  522. 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
  523. g[j].Material = Enum.Material.CorrodedMetal
  524. g[j].Anchored = false
  525. g[j]:BreakJoints()
  526. end
  527. if (g[j].className == "Model") then
  528. end
  529. t = g[j]:GetChildren()
  530. for s =1,#t do
  531. 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
  532. t[s].Material = Enum.Material.CorrodedMetal
  533. t[s].Anchored = false
  534. t[s]:BreakJoints()
  535. end
  536. if (t[s].className == "Model") then
  537. end
  538. a = t[s]:GetChildren()
  539. for z =1,#a do
  540. 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
  541. a[z].Material = Enum.Material.CorrodedMetal
  542. a[z].Anchored = false
  543. a[z]:BreakJoints()
  544. end
  545. if (a[z].className == "Model") then
  546. end
  547. p = a[z]:GetChildren()
  548. for l =1,#p do
  549. 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
  550. p[l].Material = Enum.Material.CorrodedMetal
  551. p[l].Anchored = false
  552. p[l]:BreakJoints()
  553. end
  554. end
  555. end
  556. end
  557. end
  558. end
  559. wait(.3)
  560. end
  561.  
  562. end))
  563. Script32.Name = "Explode"
  564. Script32.Parent = Part25
  565. table.insert(cors,sandbox(Script32,function()
  566. local explosion = script.Parent
  567. function blow(hit)
  568. local h = hit.Parent:FindFirstChild("Humanoid")--The Humanoid
  569.  
  570. if (h ~= nil) then --Check If The Humanoid Is There
  571. explosion = Instance.new("Explosion")--Create An Explosion
  572. explosion.Position = script.Parent.Position --The Explosions Position Is The Brick
  573. explosion.BlastRadius = 100 --A 5 by 5 Explosion.
  574. explosion.BlastPressure = 1000
  575.  
  576.  
  577. explosion.Parent = game.Workspace --You got to be able to see it.
  578. end
  579.  
  580. end
  581.  
  582. script.Parent.Touched:connect(blow)
  583.  
  584.  
  585. end))
  586. Script33.Name = "Gate2"
  587. Script33.Parent = Part25
  588. table.insert(cors,sandbox(Script33,function()
  589. --Reactor gate--
  590. wait(20)--Maby 15 or 20 will make it last
  591.  
  592. script.Parent.Explode.Disabled = true
  593. script.Parent.Kill.Disabled = true
  594. script.Parent.StayInPosition.Disabled = true
  595. script.Parent.Grow.Disabled = true
  596. script.Parent.Transparency = script.Parent.Transparency + 1.1
  597. end))
  598. Script34.Parent = Model3
  599. table.insert(cors,sandbox(Script34,function()
  600. --[[
  601. This explosion can only last about 25 or 15 seconds each explosion, you can add this in game for you're nuclear bomb, it would might take time, so i'ts a good idea to make a team build, and also you'll need to perform to be an admin on my groups, accept for other owner group.
  602. But maby you can edit it, this can also be good for trolling people, you could exploit the game with this incase if it could go with this, also if you wan't to summon this with the gear.
  603. You'll need a module script for this to work, you add the skateboard id and you'll know what to come for next.
  604. Or maby You could add the name.
  605. And changing bricks growing or other script's could cause breaking or causing it too crash, welp, you won't crash the game but you could make it too fast and cause it to break the game.
  606. And if you forgot to add my name in the description for creating this, changing the model name, you could be making it your's without knowing.
  607. --Animescapetower--
  608. Thank's for reading
  609. And here's also the ending
  610. ]]
  611.  
  612. end))
  613. Part35.Name = "InitialWave3"
  614. Part35.Parent = Model3
  615. Part35.Material = Enum.Material.Glass
  616. Part35.BrickColor = BrickColor.new("Smoky grey")
  617. Part35.Rotation = Vector3.new(88.7699966, 0, 0)
  618. Part35.Anchored = true
  619. Part35.FormFactor = Enum.FormFactor.Custom
  620. Part35.Size = Vector3.new(9.70093632, 9.70093632, 9.70093632)
  621. Part35.CFrame = CFrame.new(16.6790447, 18.1748772, -56.8388062, 1, 0, 0, 0, 0.0214659926, -0.999769628, 0, 0.999769628, 0.0214659926)
  622. Part35.BottomSurface = Enum.SurfaceType.Smooth
  623. Part35.TopSurface = Enum.SurfaceType.Smooth
  624. Part35.Color = Color3.new(0.356863, 0.364706, 0.411765)
  625. Part35.Position = Vector3.new(16.6790447, 18.1748772, -56.8388062)
  626. Part35.Orientation = Vector3.new(88.7699966, 0, 0)
  627. Part35.Color = Color3.new(0.356863, 0.364706, 0.411765)
  628. SpecialMesh36.Parent = Part35
  629. SpecialMesh36.MeshId = "http://www.roblox.com/asset/?id=3270017"
  630. SpecialMesh36.Scale = Vector3.new(90, 90, 90)
  631. SpecialMesh36.MeshType = Enum.MeshType.FileMesh
  632. SpecialMesh36.Scale = Vector3.new(90, 90, 90)
  633. PointLight37.Parent = Part35
  634. PointLight37.Color = Color3.new(0.333333, 1, 1)
  635. PointLight37.Range = 60
  636. PointLight37.Color = Color3.new(0.333333, 1, 1)
  637. Script38.Parent = Part35
  638. table.insert(cors,sandbox(Script38,function()
  639. Speed = 2
  640. while true do
  641. for i = 0, 360, Speed do
  642. script.Parent.CFrame = CFrame.new(script.Parent.Position)*CFrame.fromEulerAnglesXYZ(math.rad(i), math.rad(i), math.rad(i))
  643. wait(.001)
  644. end
  645. end
  646.  
  647. end))
  648. Script39.Name = "StayInPosition"
  649. Script39.Parent = Part35
  650. table.insert(cors,sandbox(Script39,function()
  651. wait(0.1)
  652. pos = script.Parent.CFrame
  653. while true do
  654. script.Parent.CFrame = pos
  655. wait(0.000000000000000000000000000000000000000000000000001)
  656. end
  657. end))
  658. Script40.Name = "NUKEGrow"
  659. Script40.Parent = Part35
  660. table.insert(cors,sandbox(Script40,function()
  661. nuke = script.Parent.Mesh
  662. while wait(0.00001) do
  663. nuke.Scale = nuke.Scale + Vector3.new(2,2,2)
  664. end
  665.  
  666. end))
  667. Script41.Name = "Script3"
  668. Script41.Parent = Part35
  669. Script41.Disabled = true
  670. table.insert(cors,sandbox(Script41,function()
  671. while true do
  672. c = game.Workspace:GetChildren()
  673. for i =1,#c do
  674. 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
  675. c[i].Material = Enum.Material.CorrodedMetal
  676. c[i].Anchored = false
  677. c[i]:BreakJoints()
  678. end
  679. if (c[i].className == "Model") then
  680. end
  681. g = c[i]:GetChildren()
  682. for j =1,#g do
  683. 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
  684. g[j].Material = Enum.Material.CorrodedMetal
  685. g[j].Anchored = false
  686. g[j]:BreakJoints()
  687. end
  688. if (g[j].className == "Model") then
  689. end
  690. t = g[j]:GetChildren()
  691. for s =1,#t do
  692. 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
  693. t[s].Material = Enum.Material.CorrodedMetal
  694. t[s].Anchored = false
  695. t[s]:BreakJoints()
  696. end
  697. if (t[s].className == "Model") then
  698. end
  699. a = t[s]:GetChildren()
  700. for z =1,#a do
  701. 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
  702. a[z].Material = Enum.Material.CorrodedMetal
  703. a[z].Anchored = false
  704. a[z]:BreakJoints()
  705. end
  706. if (a[z].className == "Model") then
  707. end
  708. p = a[z]:GetChildren()
  709. for l =1,#p do
  710. 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
  711. p[l].Material = Enum.Material.CorrodedMetal
  712. p[l].Anchored = false
  713. p[l]:BreakJoints()
  714. end
  715. end
  716. end
  717. end
  718. end
  719. end
  720. wait(.3)
  721. end
  722.  
  723. end))
  724. Script42.Name = "Explode"
  725. Script42.Parent = Part35
  726. table.insert(cors,sandbox(Script42,function()
  727. local explosion = script.Parent
  728. function blow(hit)
  729. local h = hit.Parent:FindFirstChild("Humanoid")--The Humanoid
  730.  
  731. if (h ~= nil) then --Check If The Humanoid Is There
  732. explosion = Instance.new("Explosion")--Create An Explosion
  733. explosion.Position = script.Parent.Position --The Explosions Position Is The Brick
  734. explosion.BlastRadius = 100 --A 5 by 5 Explosion.
  735. explosion.BlastPressure = 1000
  736.  
  737.  
  738. explosion.Parent = game.Workspace --You got to be able to see it.
  739. end
  740.  
  741. end
  742.  
  743. script.Parent.Touched:connect(blow)
  744.  
  745.  
  746. end))
  747. Script43.Name = "Gate2"
  748. Script43.Parent = Part35
  749. table.insert(cors,sandbox(Script43,function()
  750. --Reactor gate--
  751. wait(20)--Maby 15 or 20 will make it last
  752.  
  753. script.Parent.Explode.Disabled = true
  754. script.Parent.Kill.Disabled = true
  755. script.Parent.StayInPosition.Disabled = true
  756. script.Parent.Grow.Disabled = true
  757. script.Parent.Transparency = script.Parent.Transparency + 1.1
  758. end))
  759. Part44.Name = "InitialWave2"
  760. Part44.Parent = Model3
  761. Part44.Material = Enum.Material.Glass
  762. Part44.BrickColor = BrickColor.new("Smoky grey")
  763. Part44.Rotation = Vector3.new(88.7699966, 0, 0)
  764. Part44.Anchored = true
  765. Part44.FormFactor = Enum.FormFactor.Custom
  766. Part44.Size = Vector3.new(7.28804398, 7.28804398, 7.28804398)
  767. Part44.CFrame = CFrame.new(21.8251228, 4.59390879, -55.692215, 1, 0, 0, 0, 0.0214659926, -0.999769628, 0, 0.999769628, 0.0214659926)
  768. Part44.BottomSurface = Enum.SurfaceType.Smooth
  769. Part44.TopSurface = Enum.SurfaceType.Smooth
  770. Part44.Color = Color3.new(0.356863, 0.364706, 0.411765)
  771. Part44.Position = Vector3.new(21.8251228, 4.59390879, -55.692215)
  772. Part44.Orientation = Vector3.new(88.7699966, 0, 0)
  773. Part44.Color = Color3.new(0.356863, 0.364706, 0.411765)
  774. SpecialMesh45.Parent = Part44
  775. SpecialMesh45.MeshId = "http://www.roblox.com/asset/?id=3270017"
  776. SpecialMesh45.Scale = Vector3.new(67.6144943, 67.6144943, 67.6144943)
  777. SpecialMesh45.MeshType = Enum.MeshType.FileMesh
  778. SpecialMesh45.Scale = Vector3.new(67.6144943, 67.6144943, 67.6144943)
  779. PointLight46.Parent = Part44
  780. PointLight46.Color = Color3.new(0.333333, 1, 1)
  781. PointLight46.Range = 60
  782. PointLight46.Color = Color3.new(0.333333, 1, 1)
  783. Script47.Parent = Part44
  784. table.insert(cors,sandbox(Script47,function()
  785. Speed = 2
  786. while true do
  787. for i = 0, 360, Speed do
  788. script.Parent.CFrame = CFrame.new(script.Parent.Position)*CFrame.fromEulerAnglesXYZ(math.rad(i), math.rad(i), math.rad(i))
  789. wait(.001)
  790. end
  791. end
  792.  
  793. end))
  794. Script48.Name = "StayInPosition"
  795. Script48.Parent = Part44
  796. table.insert(cors,sandbox(Script48,function()
  797. wait(0.1)
  798. pos = script.Parent.CFrame
  799. while true do
  800. script.Parent.CFrame = pos
  801. wait(0.000000000000000000000000000000000000000000000000001)
  802. end
  803. end))
  804. Script49.Name = "NUKEGrow"
  805. Script49.Parent = Part44
  806. table.insert(cors,sandbox(Script49,function()
  807. nuke = script.Parent.Mesh
  808. while wait(0.00001) do
  809. nuke.Scale = nuke.Scale + Vector3.new(2,2,2)
  810. end
  811.  
  812. end))
  813. Script50.Name = "Script3"
  814. Script50.Parent = Part44
  815. Script50.Disabled = true
  816. table.insert(cors,sandbox(Script50,function()
  817. while true do
  818. c = game.Workspace:GetChildren()
  819. for i =1,#c do
  820. 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
  821. c[i].Material = Enum.Material.CorrodedMetal
  822. c[i].Anchored = false
  823. c[i]:BreakJoints()
  824. end
  825. if (c[i].className == "Model") then
  826. end
  827. g = c[i]:GetChildren()
  828. for j =1,#g do
  829. 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
  830. g[j].Material = Enum.Material.CorrodedMetal
  831. g[j].Anchored = false
  832. g[j]:BreakJoints()
  833. end
  834. if (g[j].className == "Model") then
  835. end
  836. t = g[j]:GetChildren()
  837. for s =1,#t do
  838. 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
  839. t[s].Material = Enum.Material.CorrodedMetal
  840. t[s].Anchored = false
  841. t[s]:BreakJoints()
  842. end
  843. if (t[s].className == "Model") then
  844. end
  845. a = t[s]:GetChildren()
  846. for z =1,#a do
  847. 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
  848. a[z].Material = Enum.Material.CorrodedMetal
  849. a[z].Anchored = false
  850. a[z]:BreakJoints()
  851. end
  852. if (a[z].className == "Model") then
  853. end
  854. p = a[z]:GetChildren()
  855. for l =1,#p do
  856. 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
  857. p[l].Material = Enum.Material.CorrodedMetal
  858. p[l].Anchored = false
  859. p[l]:BreakJoints()
  860. end
  861. end
  862. end
  863. end
  864. end
  865. end
  866. wait(.3)
  867. end
  868.  
  869. end))
  870. Script51.Name = "Explode"
  871. Script51.Parent = Part44
  872. table.insert(cors,sandbox(Script51,function()
  873. local explosion = script.Parent
  874. function blow(hit)
  875. local h = hit.Parent:FindFirstChild("Humanoid")--The Humanoid
  876.  
  877. if (h ~= nil) then --Check If The Humanoid Is There
  878. explosion = Instance.new("Explosion")--Create An Explosion
  879. explosion.Position = script.Parent.Position --The Explosions Position Is The Brick
  880. explosion.BlastRadius = 100 --A 5 by 5 Explosion.
  881. explosion.BlastPressure = 1000
  882.  
  883.  
  884. explosion.Parent = game.Workspace --You got to be able to see it.
  885. end
  886.  
  887. end
  888.  
  889. script.Parent.Touched:connect(blow)
  890.  
  891.  
  892. end))
  893. Script52.Name = "Gate2"
  894. Script52.Parent = Part44
  895. table.insert(cors,sandbox(Script52,function()
  896. --Reactor gate--
  897. wait(20)--Maby 15 or 20 will make it last
  898.  
  899. script.Parent.Explode.Disabled = true
  900. script.Parent.Kill.Disabled = true
  901. script.Parent.StayInPosition.Disabled = true
  902. script.Parent.Grow.Disabled = true
  903. script.Parent.Transparency = script.Parent.Transparency + 1.1
  904. end))
  905. Part53.Name = "InitialWave1"
  906. Part53.Parent = Model3
  907. Part53.Material = Enum.Material.Glass
  908. Part53.BrickColor = BrickColor.new("Smoky grey")
  909. Part53.Rotation = Vector3.new(88.7699966, 0, 0)
  910. Part53.Anchored = true
  911. Part53.FormFactor = Enum.FormFactor.Custom
  912. Part53.Size = Vector3.new(7.28804398, 7.28804398, 7.28804398)
  913. Part53.CFrame = CFrame.new(21.962162, 3.72140503, -40.5721779, 1, 0, 0, 0, 0.0214659926, -0.999769628, 0, 0.999769628, 0.0214659926)
  914. Part53.BottomSurface = Enum.SurfaceType.Smooth
  915. Part53.TopSurface = Enum.SurfaceType.Smooth
  916. Part53.Color = Color3.new(0.356863, 0.364706, 0.411765)
  917. Part53.Position = Vector3.new(21.962162, 3.72140503, -40.5721779)
  918. Part53.Orientation = Vector3.new(88.7699966, 0, 0)
  919. Part53.Color = Color3.new(0.356863, 0.364706, 0.411765)
  920. SpecialMesh54.Parent = Part53
  921. SpecialMesh54.MeshId = "http://www.roblox.com/asset/?id=3270017"
  922. SpecialMesh54.Scale = Vector3.new(67.6144943, 67.6144943, 67.6144943)
  923. SpecialMesh54.MeshType = Enum.MeshType.FileMesh
  924. SpecialMesh54.Scale = Vector3.new(67.6144943, 67.6144943, 67.6144943)
  925. PointLight55.Parent = Part53
  926. PointLight55.Color = Color3.new(0.333333, 1, 1)
  927. PointLight55.Range = 60
  928. PointLight55.Color = Color3.new(0.333333, 1, 1)
  929. Script56.Parent = Part53
  930. table.insert(cors,sandbox(Script56,function()
  931. Speed = 2
  932. while true do
  933. for i = 0, 360, Speed do
  934. script.Parent.CFrame = CFrame.new(script.Parent.Position)*CFrame.fromEulerAnglesXYZ(math.rad(i), math.rad(i), math.rad(i))
  935. wait(.001)
  936. end
  937. end
  938.  
  939. end))
  940. Script57.Name = "StayInPosition"
  941. Script57.Parent = Part53
  942. table.insert(cors,sandbox(Script57,function()
  943. wait(0.1)
  944. pos = script.Parent.CFrame
  945. while true do
  946. script.Parent.CFrame = pos
  947. wait(0.000000000000000000000000000000000000000000000000001)
  948. end
  949. end))
  950. Script58.Name = "NUKEGrow"
  951. Script58.Parent = Part53
  952. table.insert(cors,sandbox(Script58,function()
  953. nuke = script.Parent.Mesh
  954. while wait(0.00001) do
  955. nuke.Scale = nuke.Scale + Vector3.new(2,2,2)
  956. end
  957.  
  958. end))
  959. Script59.Name = "Script3"
  960. Script59.Parent = Part53
  961. Script59.Disabled = true
  962. table.insert(cors,sandbox(Script59,function()
  963. while true do
  964. c = game.Workspace:GetChildren()
  965. for i =1,#c do
  966. 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
  967. c[i].Material = Enum.Material.CorrodedMetal
  968. c[i].Anchored = false
  969. c[i]:BreakJoints()
  970. end
  971. if (c[i].className == "Model") then
  972. end
  973. g = c[i]:GetChildren()
  974. for j =1,#g do
  975. 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
  976. g[j].Material = Enum.Material.CorrodedMetal
  977. g[j].Anchored = false
  978. g[j]:BreakJoints()
  979. end
  980. if (g[j].className == "Model") then
  981. end
  982. t = g[j]:GetChildren()
  983. for s =1,#t do
  984. 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
  985. t[s].Material = Enum.Material.CorrodedMetal
  986. t[s].Anchored = false
  987. t[s]:BreakJoints()
  988. end
  989. if (t[s].className == "Model") then
  990. end
  991. a = t[s]:GetChildren()
  992. for z =1,#a do
  993. 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
  994. a[z].Material = Enum.Material.CorrodedMetal
  995. a[z].Anchored = false
  996. a[z]:BreakJoints()
  997. end
  998. if (a[z].className == "Model") then
  999. end
  1000. p = a[z]:GetChildren()
  1001. for l =1,#p do
  1002. 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
  1003. p[l].Material = Enum.Material.CorrodedMetal
  1004. p[l].Anchored = false
  1005. p[l]:BreakJoints()
  1006. end
  1007. end
  1008. end
  1009. end
  1010. end
  1011. end
  1012. wait(.3)
  1013. end
  1014.  
  1015. end))
  1016. Script60.Name = "Explode"
  1017. Script60.Parent = Part53
  1018. table.insert(cors,sandbox(Script60,function()
  1019. local explosion = script.Parent
  1020. function blow(hit)
  1021. local h = hit.Parent:FindFirstChild("Humanoid")--The Humanoid
  1022.  
  1023. if (h ~= nil) then --Check If The Humanoid Is There
  1024. explosion = Instance.new("Explosion")--Create An Explosion
  1025. explosion.Position = script.Parent.Position --The Explosions Position Is The Brick
  1026. explosion.BlastRadius = 100 --A 5 by 5 Explosion.
  1027. explosion.BlastPressure = 1000
  1028.  
  1029.  
  1030. explosion.Parent = game.Workspace --You got to be able to see it.
  1031. end
  1032.  
  1033. end
  1034.  
  1035. script.Parent.Touched:connect(blow)
  1036.  
  1037.  
  1038. end))
  1039. Script61.Name = "Gate2"
  1040. Script61.Parent = Part53
  1041. table.insert(cors,sandbox(Script61,function()
  1042. --Reactor gate--
  1043. wait(20)--Maby 15 or 20 will make it last
  1044.  
  1045. script.Parent.Explode.Disabled = true
  1046. script.Parent.Kill.Disabled = true
  1047. script.Parent.StayInPosition.Disabled = true
  1048. script.Parent.Grow.Disabled = true
  1049. script.Parent.Transparency = script.Parent.Transparency + 1.1
  1050. end))
  1051. Part62.Name = "InitialWave0"
  1052. Part62.Parent = Model3
  1053. Part62.Material = Enum.Material.Glass
  1054. Part62.BrickColor = BrickColor.new("Smoky grey")
  1055. Part62.Rotation = Vector3.new(88.7699966, 0, 0)
  1056. Part62.Anchored = true
  1057. Part62.FormFactor = Enum.FormFactor.Custom
  1058. Part62.Size = Vector3.new(9.70093632, 9.70093632, 9.70093632)
  1059. Part62.CFrame = CFrame.new(16.8614502, 17.013504, -36.7129059, 1, 0, 0, 0, 0.0214659926, -0.999769628, 0, 0.999769628, 0.0214659926)
  1060. Part62.BottomSurface = Enum.SurfaceType.Smooth
  1061. Part62.TopSurface = Enum.SurfaceType.Smooth
  1062. Part62.Color = Color3.new(0.356863, 0.364706, 0.411765)
  1063. Part62.Position = Vector3.new(16.8614502, 17.013504, -36.7129059)
  1064. Part62.Orientation = Vector3.new(88.7699966, 0, 0)
  1065. Part62.Color = Color3.new(0.356863, 0.364706, 0.411765)
  1066. SpecialMesh63.Parent = Part62
  1067. SpecialMesh63.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1068. SpecialMesh63.Scale = Vector3.new(90, 90, 90)
  1069. SpecialMesh63.MeshType = Enum.MeshType.FileMesh
  1070. SpecialMesh63.Scale = Vector3.new(90, 90, 90)
  1071. PointLight64.Parent = Part62
  1072. PointLight64.Color = Color3.new(0.333333, 1, 1)
  1073. PointLight64.Range = 60
  1074. PointLight64.Color = Color3.new(0.333333, 1, 1)
  1075. Script65.Parent = Part62
  1076. table.insert(cors,sandbox(Script65,function()
  1077. Speed = 2
  1078. while true do
  1079. for i = 0, 360, Speed do
  1080. script.Parent.CFrame = CFrame.new(script.Parent.Position)*CFrame.fromEulerAnglesXYZ(math.rad(i), math.rad(i), math.rad(i))
  1081. wait(.001)
  1082. end
  1083. end
  1084.  
  1085. end))
  1086. Script66.Name = "StayInPosition"
  1087. Script66.Parent = Part62
  1088. table.insert(cors,sandbox(Script66,function()
  1089. wait(0.1)
  1090. pos = script.Parent.CFrame
  1091. while true do
  1092. script.Parent.CFrame = pos
  1093. wait(0.000000000000000000000000000000000000000000000000001)
  1094. end
  1095. end))
  1096. Script67.Name = "NUKEGrow"
  1097. Script67.Parent = Part62
  1098. table.insert(cors,sandbox(Script67,function()
  1099. nuke = script.Parent.Mesh
  1100. while wait(0.00001) do
  1101. nuke.Scale = nuke.Scale + Vector3.new(2,2,2)
  1102. end
  1103.  
  1104. end))
  1105. Script68.Name = "Script3"
  1106. Script68.Parent = Part62
  1107. Script68.Disabled = true
  1108. table.insert(cors,sandbox(Script68,function()
  1109. while true do
  1110. c = game.Workspace:GetChildren()
  1111. for i =1,#c do
  1112. 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
  1113. c[i].Material = Enum.Material.CorrodedMetal
  1114. c[i].Anchored = false
  1115. c[i]:BreakJoints()
  1116. end
  1117. if (c[i].className == "Model") then
  1118. end
  1119. g = c[i]:GetChildren()
  1120. for j =1,#g do
  1121. 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
  1122. g[j].Material = Enum.Material.CorrodedMetal
  1123. g[j].Anchored = false
  1124. g[j]:BreakJoints()
  1125. end
  1126. if (g[j].className == "Model") then
  1127. end
  1128. t = g[j]:GetChildren()
  1129. for s =1,#t do
  1130. 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
  1131. t[s].Material = Enum.Material.CorrodedMetal
  1132. t[s].Anchored = false
  1133. t[s]:BreakJoints()
  1134. end
  1135. if (t[s].className == "Model") then
  1136. end
  1137. a = t[s]:GetChildren()
  1138. for z =1,#a do
  1139. 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
  1140. a[z].Material = Enum.Material.CorrodedMetal
  1141. a[z].Anchored = false
  1142. a[z]:BreakJoints()
  1143. end
  1144. if (a[z].className == "Model") then
  1145. end
  1146. p = a[z]:GetChildren()
  1147. for l =1,#p do
  1148. 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
  1149. p[l].Material = Enum.Material.CorrodedMetal
  1150. p[l].Anchored = false
  1151. p[l]:BreakJoints()
  1152. end
  1153. end
  1154. end
  1155. end
  1156. end
  1157. end
  1158. wait(.3)
  1159. end
  1160.  
  1161. end))
  1162. Script69.Name = "Explode"
  1163. Script69.Parent = Part62
  1164. table.insert(cors,sandbox(Script69,function()
  1165. local explosion = script.Parent
  1166. function blow(hit)
  1167. local h = hit.Parent:FindFirstChild("Humanoid")--The Humanoid
  1168.  
  1169. if (h ~= nil) then --Check If The Humanoid Is There
  1170. explosion = Instance.new("Explosion")--Create An Explosion
  1171. explosion.Position = script.Parent.Position --The Explosions Position Is The Brick
  1172. explosion.BlastRadius = 100 --A 5 by 5 Explosion.
  1173. explosion.BlastPressure = 1000
  1174.  
  1175.  
  1176. explosion.Parent = game.Workspace --You got to be able to see it.
  1177. end
  1178.  
  1179. end
  1180.  
  1181. script.Parent.Touched:connect(blow)
  1182.  
  1183.  
  1184. end))
  1185. Script70.Name = "Gate2"
  1186. Script70.Parent = Part62
  1187. table.insert(cors,sandbox(Script70,function()
  1188. --Reactor gate--
  1189. wait(20)--Maby 15 or 20 will make it last
  1190.  
  1191. script.Parent.Explode.Disabled = true
  1192. script.Parent.Kill.Disabled = true
  1193. script.Parent.StayInPosition.Disabled = true
  1194. script.Parent.Grow.Disabled = true
  1195. script.Parent.Transparency = script.Parent.Transparency + 1.1
  1196. end))
  1197. Part71.Name = "InitialWave"
  1198. Part71.Parent = Model3
  1199. Part71.Material = Enum.Material.Glass
  1200. Part71.BrickColor = BrickColor.new("Really red")
  1201. Part71.Rotation = Vector3.new(-85.4700012, 0.519999981, 5.42999983)
  1202. Part71.Anchored = true
  1203. Part71.FormFactor = Enum.FormFactor.Custom
  1204. Part71.Size = Vector3.new(9.70093632, 9.70093632, 9.70093632)
  1205. Part71.CFrame = CFrame.new(16.7554035, 15.9591618, -46.9054565, 0.995478988, -0.0945510343, 0.00904783048, -0.00150699995, 0.0795229748, 0.996831894, -0.0949710011, -0.992338777, 0.0790209547)
  1206. Part71.BottomSurface = Enum.SurfaceType.Smooth
  1207. Part71.TopSurface = Enum.SurfaceType.Smooth
  1208. Part71.Color = Color3.new(1, 0, 0)
  1209. Part71.Position = Vector3.new(16.7554035, 15.9591618, -46.9054565)
  1210. Part71.Orientation = Vector3.new(-85.4399948, 6.52999973, -1.09000003)
  1211. Part71.Color = Color3.new(1, 0, 0)
  1212. SpecialMesh72.Parent = Part71
  1213. SpecialMesh72.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1214. SpecialMesh72.Scale = Vector3.new(120, 120, 120)
  1215. SpecialMesh72.MeshType = Enum.MeshType.FileMesh
  1216. SpecialMesh72.Scale = Vector3.new(120, 120, 120)
  1217. PointLight73.Parent = Part71
  1218. PointLight73.Color = Color3.new(0.333333, 1, 1)
  1219. PointLight73.Range = 60
  1220. PointLight73.Color = Color3.new(0.333333, 1, 1)
  1221. Script74.Parent = Part71
  1222. table.insert(cors,sandbox(Script74,function()
  1223. Speed = 2
  1224. while true do
  1225. for i = 0, 360, Speed do
  1226. script.Parent.CFrame = CFrame.new(script.Parent.Position)*CFrame.fromEulerAnglesXYZ(math.rad(i), math.rad(i), math.rad(i))
  1227. wait(.001)
  1228. end
  1229. end
  1230.  
  1231. end))
  1232. Script75.Name = "StayInPosition"
  1233. Script75.Parent = Part71
  1234. table.insert(cors,sandbox(Script75,function()
  1235. wait(0.1)
  1236. pos = script.Parent.CFrame
  1237. while true do
  1238. script.Parent.CFrame = pos
  1239. wait(0.000000000000000000000000000000000000000000000000001)
  1240. end
  1241. end))
  1242. Script76.Name = "NUKEGrow"
  1243. Script76.Parent = Part71
  1244. table.insert(cors,sandbox(Script76,function()
  1245. nuke = script.Parent.Mesh
  1246. while wait(0.00001) do
  1247. nuke.Scale = nuke.Scale + Vector3.new(2,2,2)
  1248. end
  1249.  
  1250. end))
  1251. Script77.Name = "Script3"
  1252. Script77.Parent = Part71
  1253. Script77.Disabled = true
  1254. table.insert(cors,sandbox(Script77,function()
  1255. while true do
  1256. c = game.Workspace:GetChildren()
  1257. for i =1,#c do
  1258. 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
  1259. c[i].Material = Enum.Material.CorrodedMetal
  1260. c[i].Anchored = false
  1261. c[i]:BreakJoints()
  1262. end
  1263. if (c[i].className == "Model") then
  1264. end
  1265. g = c[i]:GetChildren()
  1266. for j =1,#g do
  1267. 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
  1268. g[j].Material = Enum.Material.CorrodedMetal
  1269. g[j].Anchored = false
  1270. g[j]:BreakJoints()
  1271. end
  1272. if (g[j].className == "Model") then
  1273. end
  1274. t = g[j]:GetChildren()
  1275. for s =1,#t do
  1276. 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
  1277. t[s].Material = Enum.Material.CorrodedMetal
  1278. t[s].Anchored = false
  1279. t[s]:BreakJoints()
  1280. end
  1281. if (t[s].className == "Model") then
  1282. end
  1283. a = t[s]:GetChildren()
  1284. for z =1,#a do
  1285. 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
  1286. a[z].Material = Enum.Material.CorrodedMetal
  1287. a[z].Anchored = false
  1288. a[z]:BreakJoints()
  1289. end
  1290. if (a[z].className == "Model") then
  1291. end
  1292. p = a[z]:GetChildren()
  1293. for l =1,#p do
  1294. 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
  1295. p[l].Material = Enum.Material.CorrodedMetal
  1296. p[l].Anchored = false
  1297. p[l]:BreakJoints()
  1298. end
  1299. end
  1300. end
  1301. end
  1302. end
  1303. end
  1304. wait(.3)
  1305. end
  1306.  
  1307. end))
  1308. Script78.Name = "Explode"
  1309. Script78.Parent = Part71
  1310. table.insert(cors,sandbox(Script78,function()
  1311. local explosion = script.Parent
  1312. function blow(hit)
  1313. local h = hit.Parent:FindFirstChild("Humanoid")--The Humanoid
  1314.  
  1315. if (h ~= nil) then --Check If The Humanoid Is There
  1316. explosion = Instance.new("Explosion")--Create An Explosion
  1317. explosion.Position = script.Parent.Position --The Explosions Position Is The Brick
  1318. explosion.BlastRadius = 100 --A 5 by 5 Explosion.
  1319. explosion.BlastPressure = 1000
  1320.  
  1321.  
  1322. explosion.Parent = game.Workspace --You got to be able to see it.
  1323. end
  1324.  
  1325. end
  1326.  
  1327. script.Parent.Touched:connect(blow)
  1328.  
  1329.  
  1330. end))
  1331. Script79.Name = "Gate2"
  1332. Script79.Parent = Part71
  1333. table.insert(cors,sandbox(Script79,function()
  1334. --Reactor gate--
  1335. wait(20)--Maby 15 or 20 will make it last
  1336.  
  1337. script.Parent.Explode.Disabled = true
  1338. script.Parent.Kill.Disabled = true
  1339. script.Parent.StayInPosition.Disabled = true
  1340. script.Parent.Grow.Disabled = true
  1341. script.Parent.Transparency = script.Parent.Transparency + 1
  1342. end))
  1343. for i,v in pairs(mas:GetChildren()) do
  1344. v.Parent = workspace
  1345. pcall(function() v:MakeJoints() end)
  1346. end
  1347. mas:Destroy()
  1348. for i,v in pairs(cors) do
  1349. spawn(function()
  1350. pcall(v)
  1351. end)
  1352. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement