Advertisement
zed_isJayTheLionJR

Untitled

Feb 25th, 2018
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local Model = Instance.new("Model",workspace)
  2. local Cloud1 = Instance.new("Part")
  3. local Cloud2 = Instance.new("Part")
  4. local Cloud1Mesh = Instance.new("SpecialMesh")
  5. local Cloud2Mesh = Instance.new("SpecialMesh")
  6. local Sound = Instance.new("Sound",workspace)
  7. local sky = Instance.new("Sky")
  8. NUKE_COLOR = 104 --Only BrickColor codes.
  9. CLOUD_TRANSPARENCY = 0.25
  10.  
  11. wait(1.5)
  12.  
  13. function radiation(hit)
  14. local h = hit.Parent:findFirstChild("Humanoid")
  15. local DAMAGE = 999999
  16. if h~=nil then
  17. h.WalkSpeed = 5
  18. h.Parent["Right Leg"]:Destroy()
  19. h.Parent["Left Arm"]:Destroy()
  20. for i =1,h.MaxHealth do
  21. h.Health = h.Health - DAMAGE
  22. wait(1)
  23. end
  24. end
  25. end
  26. function unanchor (m)
  27. for _,i in pairs (m:GetChildren()) do
  28. if i:IsA("Part","Model","Union","WedgePart","CornerWedgePart") then
  29. -- i.Anchored = false
  30. local Fire = Instance.new("Fire")
  31. Fire.Parent = i
  32. Fire.Size = math.random(5,10)
  33. i.Material = "CorrodedMetal"
  34. i:BreakJoints()
  35. i.BrickColor = BrickColor.new(26)
  36. i.Touched:connect(radiation)
  37.  
  38. else
  39. unanchor(i)
  40. end
  41. end
  42. end
  43. unanchor(game.Workspace)
  44.  
  45. Sound.SoundId = "http://www.roblox.com/asset?id=2248511"
  46. Sound.PlaybackSpeed = 0.2
  47. Sound.Playing = true
  48. Sound.Volume = 1
  49.  
  50. Model.Name = "Mushroom Cloud"
  51. Cloud1.Parent = Model
  52. Cloud1.Anchored = true
  53. Cloud1.CanCollide = false
  54. Cloud1.Locked = true
  55. Cloud1Mesh.Parent = Cloud1
  56. Cloud1Mesh.MeshType = "FileMesh"
  57. Cloud1Mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  58. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(95,300,195) --199
  59. Cloud2.Parent = Model
  60. Cloud2.Anchored = true
  61. Cloud2.CanCollide = false
  62. Cloud2.Locked = true
  63. Cloud2.Position = Cloud2.Position + Vector3.new(0,587,0)
  64. Cloud2Mesh.Parent = Cloud2
  65. Cloud2Mesh.MeshType = "FileMesh"
  66. Cloud2Mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  67. Cloud2Mesh.Scale = Cloud2Mesh.Scale + Vector3.new(399,399,649)
  68. Cloud1.Transparency = CLOUD_TRANSPARENCY
  69. Cloud2.Transparency = CLOUD_TRANSPARENCY
  70. Cloud1.BrickColor = BrickColor.new(NUKE_COLOR)
  71. Cloud2.BrickColor = BrickColor.new(NUKE_COLOR)
  72. sky.Parent = game.Lighting
  73. sky.Name = "NukeSky"
  74. sky.CelestialBodiesShown = true
  75. sky.SkyboxBk = "http://www.roblox.com/asset/?version=1&id=1012890"
  76. sky.SkyboxDn = "http://www.roblox.com/asset/?version=1&id=1012891"
  77. sky.SkyboxFt = "http://www.roblox.com/asset/?version=1&id=1012887"
  78. sky.SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1012889"
  79. sky.SkyboxRt = "http://www.roblox.com/asset/?version=1&id=1012888"
  80. sky.SkyboxUp = "http://www.roblox.com/asset/?version=1&id=1014449"
  81. explosion = Instance.new("Explosion")
  82. explosion.Parent = game.workspace
  83. explosion.BlastRadius = 9999999999999
  84. explosion.BlastPressure = 10000000
  85. game.Lighting.Brightness = 999
  86. game.Lighting.OutdoorAmbient = Color3.new(1,0,0)
  87. wait (1) --Fireball
  88. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --50
  89. wait (0.25)
  90. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --50
  91. wait (0.25)
  92. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --60
  93. wait (0.25)
  94. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --50
  95. wait (0.25)
  96. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --50
  97. wait (0.25)
  98. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --50
  99. wait (0.25)
  100. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --50
  101. wait (0.25)
  102. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --50
  103. wait (0.25)
  104. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,100,0) --50
  105. wait (30) --End phase of the nuke
  106. game.Lighting.Ambient = Color3.new(0,0,0)
  107. game.Lighting.OutdoorAmbient = Color3.new(127 / 255,127 / 255,127 / 255)
  108. sky:Destroy()
  109. game.Lighting.Brightness = 1
  110. Cloud1.BrickColor = BrickColor.new(1)
  111. Cloud2.BrickColor = BrickColor.new(1)
  112. Cloud1.Transparency = 0.6
  113. Cloud2.Transparency = 0.6
  114. wait (5)
  115. Cloud1.Transparency = 0.7
  116. Cloud2.Transparency = 0.7
  117. wait (5)
  118. Cloud1.Transparency = 0.8
  119. Cloud2.Transparency = 0.8
  120. wait (5)
  121. Cloud1.Transparency = 0.9
  122. Cloud2.Transparency = 0.9
  123. wait (120)
  124. Cloud1:Destroy()
  125. Cloud2:Destroy()
  126. --BrickColor codes: http://wiki.roblox.com/index.php?title=BrickColor_codes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement