Advertisement
Luiswhut

NUKE

Jul 11th, 2016
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.51 KB | None | 0 0
  1. --Nuke. Change it to your name where indicated. Don't bump into anyone. Enough said.
  2.  
  3. if not game.Lighting:FindFirstChild("Sky") then
  4.  
  5. Instance.new("Sky").Parent = game.Lighting
  6.  
  7. else
  8.  
  9. Sky = game.Lighting.Sky
  10.  
  11. end
  12.  
  13. Nuke = game.Players.plotchy.Character newbie1445
  14.  
  15. CloudMesh = Instance.new("Mesh")
  16.  
  17. CloudMesh.MeshType = Enum.MeshType.Sphere
  18.  
  19. Fallout = false
  20.  
  21. PrimaryPart = game.Workspace.PrimaryPart
  22.  
  23.  
  24.  
  25. function Explode()
  26.  
  27. if Fallout then return end
  28.  
  29. Fallout = true
  30.  
  31. print ("WUH-BLAM!")
  32.  
  33. MainExplosion = Instance.new ("Explosion")
  34.  
  35. MainExplosion.Parent = game.Workspace
  36.  
  37. MainExplosion.Position = Vector3.new (PrimaryPart.Position.x, PrimaryPart.Position.y, PrimaryPart.Position.z)
  38.  
  39. MainExplosion.BlastRadius = 10000000
  40.  
  41. MainExplosion.BlastPressure = 10000000
  42.  
  43. FirstExplosion = Instance.new ("Explosion")
  44.  
  45. FirstExplosion.Parent = game.Workspace
  46.  
  47. FirstExplosion.Position = Vector3.new ((PrimaryPart.Position.x + (PrimaryPart.Size.x / 2)), PrimaryPart.Position.y, (PrimaryPart.Position.z + (PrimaryPart.Size.z / 2)))
  48.  
  49. FirstExplosion.BlastRadius = 10000000
  50.  
  51. FirstExplosion.BlastPressure = 1000000
  52.  
  53. BobExplosion = Instance.new ("Explosion")
  54.  
  55. BobExplosion.Parent = game.Workspace
  56.  
  57. BobExplosion.Position = Vector3.new ((PrimaryPart.Position.x + (PrimaryPart.Size.x / 2)), PrimaryPart.Position.y, (PrimaryPart.Position.z - (PrimaryPart.Size.z / 2)))
  58.  
  59. BobExplosion.BlastRadius = 10000000
  60.  
  61. BobExplosion.BlastPressure = 1000000
  62.  
  63. HaloExplosion = Instance.new ("Explosion")
  64.  
  65. HaloExplosion.Parent = game.Workspace
  66.  
  67. HaloExplosion.Position = Vector3.new ((PrimaryPart.Position.x - (PrimaryPart.Size.x / 2)), PrimaryPart.Position.y, (PrimaryPart.Position.z - (PrimaryPart.Size.z / 2)))
  68.  
  69. HaloExplosion.BlastRadius = 10000000
  70.  
  71. HaloExplosion.BlastPressure = 1000000
  72.  
  73. BillboardExplosion = Instance.new ("Explosion")
  74.  
  75. BillboardExplosion.Parent = game.Workspace
  76.  
  77. BillboardExplosion.Position = Vector3.new ((PrimaryPart.Position.x - (PrimaryPart.Size.x / 2)), PrimaryPart.Position.y, (PrimaryPart.Position.z + (PrimaryPart.Size.z / 2)))
  78.  
  79. BillboardExplosion.BlastRadius = 10000000
  80.  
  81. BillboardExplosion.BlastPressure = 1000000
  82.  
  83. Sky.Parent.TimeOfDay = "12:00:00"
  84.  
  85. Sky.Parent.Ambient = Color3.new (255, 255, 153)
  86.  
  87. Sky.Parent.Brightness = 10
  88.  
  89. Sky.Parent.ColorShift_Bottom = Color3.new (255, 255, 153)
  90.  
  91. Sky.Parent.ColorShift_Top = Color3.new (255, 255, 153)
  92.  
  93. Sky.Parent.ShadowColor = Color3.new (69, 69, 69)
  94.  
  95. wait (1)
  96.  
  97. Sky.SkyboxBk = "http://www.roblox.com/asset/?version=1&id=1012890"
  98.  
  99. Sky.SkyboxDn = "http://www.roblox.com/asset/?version=1&id=1012891"
  100.  
  101. Sky.SkyboxFt = "http://www.roblox.com/asset/?version=1&id=1012887"
  102.  
  103. Sky.SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1012889"
  104.  
  105. Sky.SkyboxRt = "http://www.roblox.com/asset/?version=1&id=1012888"
  106.  
  107. Sky.SkyboxUp = "http://www.roblox.com/asset/?version=1&id=1014449"
  108.  
  109. Sky.Parent.Ambient = Color3.new (204, 102, 0)
  110.  
  111. Sky.Parent.Brightness = 1
  112.  
  113. Sky.Parent.ColorShift_Bottom = Color3.new (204, 102, 0)
  114.  
  115. Sky.Parent.ColorShift_Top = Color3.new (204, 102, 0)
  116.  
  117. Sky.Parent.ShadowColor = Color3.new (150, 150, 150)
  118.  
  119. CloudBottom = Instance.new ("Part")
  120.  
  121. CloudBottom.Position = PrimaryPart.Position
  122.  
  123. CloudBottom.Anchored = true
  124.  
  125. CloudBottom.CanCollide = false
  126.  
  127. CloudBottom.BrickColor = BrickColor.new (5)
  128.  
  129. CloudBottom.Transparency = 1
  130.  
  131. CloudBottom.Parent = game.Workspace
  132.  
  133. BottomMesh = CloudMesh:Clone()
  134.  
  135. BottomMesh.Scale = Vector3.new ((PrimaryPart.Size.x * (3/2)), PrimaryPart.Size.y, (PrimaryPart.Size.z * (1/3)))
  136.  
  137. BottomMesh.Parent = CloudBottom
  138.  
  139. CloudMiddle = Instance.new ("Part")
  140.  
  141. CloudMiddle.Position = Vector3.new (PrimaryPart.Position.x, (PrimaryPart.Position.y + 60), PrimaryPart.Position.z)
  142.  
  143. CloudMiddle.Anchored = true
  144.  
  145. CloudMiddle.CanCollide = false
  146.  
  147. CloudMiddle.BrickColor = BrickColor.new (5)
  148.  
  149. CloudMiddle.Transparency = 1
  150.  
  151. CloudMiddle.Parent = game.Workspace
  152.  
  153. MiddleMesh = CloudMesh:clone()
  154.  
  155. MiddleMesh.Scale = Vector3.new (25, 250, 50)
  156.  
  157. MiddleMesh.Parent = CloudMiddle
  158.  
  159. CloudTop = Instance.new ("Part")
  160.  
  161. CloudTop.Position = Vector3.new (PrimaryPart.Position.x, (PrimaryPart.Position.y + 135), PrimaryPart.Position.z)
  162.  
  163. CloudTop.Anchored = true
  164.  
  165. CloudTop.CanCollide = false
  166.  
  167. CloudTop.BrickColor = BrickColor.new (5)
  168.  
  169. CloudTop.Transparency = 1
  170.  
  171. CloudTop.Parent = game.Workspace
  172.  
  173. TopMesh = CloudMesh:clone()
  174.  
  175. TopMesh.Scale = Vector3.new (100, 100, 200)
  176.  
  177. TopMesh.Parent = CloudTop
  178.  
  179. wait (1)
  180.  
  181. CloudBottom.Transparency = 0.9
  182.  
  183. wait (1)
  184.  
  185. CloudBottom.Transparency = 0.8
  186.  
  187. CloudMiddle.Transparency = 0.9
  188.  
  189. wait (1)
  190.  
  191. CloudBottom.Transparency = 0.7
  192.  
  193. CloudMiddle.Transparency = 0.8
  194.  
  195. CloudTop.Transparency = 0.9
  196.  
  197. wait (1)
  198.  
  199. CloudBottom.Transparency = 0.6
  200.  
  201. CloudMiddle.Transparency = 0.7
  202.  
  203. CloudTop.Transparency = 0.8
  204.  
  205. wait (1)
  206.  
  207. CloudBottom.Transparency = 0.5
  208.  
  209. CloudMiddle.Transparency = 0.6
  210.  
  211. CloudTop.Transparency = 0.7
  212.  
  213. wait (1)
  214.  
  215. CloudBottom.Transparency = 0.4
  216.  
  217. CloudMiddle.Transparency = 0.5
  218.  
  219. CloudTop.Transparency = 0.6
  220.  
  221. wait (1)
  222.  
  223. CloudBottom.Transparency = 0.3
  224.  
  225. CloudMiddle.Transparency = 0.4
  226.  
  227. CloudTop.Transparency = 0.5
  228.  
  229. wait (1)
  230.  
  231. CloudBottom.Transparency = 0.2
  232.  
  233. CloudMiddle.Transparency = 0.3
  234.  
  235. CloudTop.Transparency = 0.4
  236.  
  237. wait (1)
  238.  
  239. CloudBottom.Transparency = 0.1
  240.  
  241. CloudMiddle.Transparency = 0.2
  242.  
  243. CloudTop.Transparency = 0.3
  244.  
  245. wait (1)
  246.  
  247. CloudBottom.Transparency = 0.05
  248.  
  249. CloudMiddle.Transparency = 0.1
  250.  
  251. CloudTop.Transparency = 0.2
  252.  
  253. wait (1)
  254.  
  255. CloudMiddle.Transparency = 0.05
  256.  
  257. CloudTop.Transparency = 0.1
  258.  
  259. wait (1)
  260.  
  261. CloudTop.Transparency = 0.05
  262.  
  263. wait (60)
  264.  
  265. Sky.SkyboxBk = ""
  266.  
  267. Sky.SkyboxDn = ""
  268.  
  269. Sky.SkyboxFt = ""
  270.  
  271. Sky.SkyboxLf = ""
  272.  
  273. Sky.SkyboxRt = ""
  274.  
  275. Sky.SkyboxUp = ""
  276.  
  277. Sky.Parent.Ambient = Color3.new (152, 152, 152)
  278.  
  279. Sky.Parent.Brightness = 1
  280.  
  281. Sky.Parent.ColorShift_Bottom = Color3.new (0, 0, 0)
  282.  
  283. Sky.Parent.ColorShift_Top = Color3.new (0, 0, 0)
  284.  
  285. Sky.Parent.ShadowColor = Color3.new (175, 175, 175)
  286.  
  287. wait (5)
  288.  
  289. CloudBottom.Transparency = 0.1
  290.  
  291. wait (0.5)
  292.  
  293. CloudBottom.Transparency = 0.15
  294.  
  295. CloudMiddle.Transparency = 0.1
  296.  
  297. wait (0.5)
  298.  
  299. CloudBottom.Transparency = 0.2
  300.  
  301. CloudMiddle.Transparency = 0.15
  302.  
  303. CloudTop.Transparency = 0.1
  304.  
  305. wait (0.5)
  306.  
  307. CloudBottom.Transparency = 0.25
  308.  
  309. CloudMiddle.Transparency = 0.2
  310.  
  311. CloudTop.Transparency = 0.15
  312.  
  313. wait (0.5)
  314.  
  315. CloudBottom.Transparency = 0.3
  316.  
  317. CloudMiddle.Transparency = 0.25
  318.  
  319. CloudTop.Transparency = 0.2
  320.  
  321. wait (0.5)
  322.  
  323. CloudBottom.Transparency = 0.35
  324.  
  325. CloudMiddle.Transparency = 0.3
  326.  
  327. CloudTop.Transparency = 0.25
  328.  
  329. wait (0.5)
  330.  
  331. CloudBottom.Transparency = 0.4
  332.  
  333. CloudMiddle.Transparency = 0.35
  334.  
  335. CloudTop.Transparency = 0.3
  336.  
  337. wait (0.5)
  338.  
  339. CloudBottom.Transparency = 0.45
  340.  
  341. CloudMiddle.Transparency = 0.4
  342.  
  343. CloudTop.Transparency = 0.35
  344.  
  345. wait (0.5)
  346.  
  347. CloudBottom.Transparency = 0.5
  348.  
  349. CloudMiddle.Transparency = 0.45
  350.  
  351. CloudTop.Transparency = 0.4
  352.  
  353. wait (0.5)
  354.  
  355. CloudBottom.Transparency = 0.55
  356.  
  357. CloudMiddle.Transparency = 0.5
  358.  
  359. CloudTop.Transparency = 0.45
  360.  
  361. wait (0.5)
  362.  
  363. CloudBottom.Transparency = 0.6
  364.  
  365. CloudMiddle.Transparency = 0.55
  366.  
  367. CloudTop.Transparency = 0.5
  368.  
  369. wait (0.5)
  370.  
  371. CloudBottom.Transparency = 0.65
  372.  
  373. CloudMiddle.Transparency = 0.6
  374.  
  375. CloudTop.Transparency = 0.55
  376.  
  377. wait (0.5)
  378.  
  379. CloudBottom.Transparency = 0.7
  380.  
  381. CloudMiddle.Transparency = 0.65
  382.  
  383. CloudTop.Transparency = 0.6
  384.  
  385. wait (0.5)
  386.  
  387. CloudBottom.Transparency = 0.75
  388.  
  389. CloudMiddle.Transparency = 0.7
  390.  
  391. CloudTop.Transparency = 0.65
  392.  
  393. wait (0.5)
  394.  
  395. CloudBottom.Transparency = 0.8
  396.  
  397. CloudMiddle.Transparency = 0.75
  398.  
  399. CloudTop.Transparency = 0.7
  400.  
  401. wait (0.5)
  402.  
  403. CloudBottom.Transparency = 0.85
  404.  
  405. CloudMiddle.Transparency = 0.8
  406.  
  407. CloudTop.Transparency = 0.75
  408.  
  409. wait (0.5)
  410.  
  411. CloudBottom.Transparency = 0.9
  412.  
  413. CloudMiddle.Transparency = 0.85
  414.  
  415. CloudTop.Transparency = 0.8
  416.  
  417. wait (0.5)
  418.  
  419. CloudBottom.Transparency = 0.95
  420.  
  421. CloudMiddle.Transparency = 0.9
  422.  
  423. CloudTop.Transparency = 0.85
  424.  
  425. wait (0.5)
  426.  
  427. CloudBottom.Transparency = 0.975
  428.  
  429. CloudMiddle.Transparency = 0.95
  430.  
  431. CloudTop.Transparency = 0.9
  432.  
  433. wait (0.5)
  434.  
  435. CloudBottom:Remove()
  436.  
  437. BottomMesh:Remove()
  438.  
  439. CloudMiddle.Transparency = 0.975
  440.  
  441. CloudTop.Transparency = 0.95
  442.  
  443. wait (0.5)
  444.  
  445. CloudMiddle:Remove()
  446.  
  447. MiddleMesh:Remove()
  448.  
  449. CloudTop.Transparency = 0.975
  450.  
  451. wait (1)
  452.  
  453. CloudTop:Remove()
  454.  
  455. TopMeshRemove()
  456.  
  457. Fallout = false
  458.  
  459. end
  460.  
  461.  
  462.  
  463. Nuke.PrimaryPart.Touched:connect(function (Part) if not Part:IsDescendantOf(Nuke) then Explode() end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement