Elvisfofo_rblx

Nuke Map Script

Jun 22nd, 2025
682
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.29 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local TextLabel = Instance.new("TextLabel")
  4. local TextButton = Instance.new("TextButton")
  5.  
  6. --Properties:
  7.  
  8. ScreenGui.Parent = game.CoreGui
  9.  
  10. Frame.Parent = ScreenGui
  11. Frame.BackgroundColor3 = Color3.fromRGB(27, 27, 27)
  12. Frame.Position = UDim2.new(0.572217822, 0, 0.70755887, 0)
  13. Frame.Size = UDim2.new(0, 375, 0, 157)
  14. Frame.Active = true
  15. Frame. Draggable = true
  16.  
  17. TextLabel.Parent = Frame
  18. TextLabel.BackgroundColor3 = Color3.fromRGB(71, 71, 71)
  19. TextLabel.Size = UDim2.new(0, 375, 0, 50)
  20. TextLabel.Font = Enum.Font.GothamBold
  21. TextLabel.Text = "nuke server gui (sm1le)"
  22. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  23. TextLabel.TextSize = 14.000
  24.  
  25. TextButton.Parent = Frame
  26. TextButton.BackgroundColor3 = Color3.fromRGB(71, 71, 71)
  27. TextButton.Position = UDim2.new(0.231999993, 0, 0.471337587, 0)
  28. TextButton.Size = UDim2.new(0, 200, 0, 50)
  29. TextButton.Font = Enum.Font.Gotham
  30. TextButton.Text = "nuke"
  31. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  32. TextButton.TextSize = 14.000
  33. TextButton.MouseButton1Down:connect(function()
  34. local Model = Instance.new("Model",workspace)
  35. local Cloud1 = Instance.new("Part")
  36. local Cloud2 = Instance.new("Part")
  37. local Cloud1Mesh = Instance.new("SpecialMesh")
  38. local Cloud2Mesh = Instance.new("SpecialMesh")
  39. local Sound = Instance.new("Sound",workspace)
  40. local sky = Instance.new("Sky")
  41. NUKE_COLOR = 24 --Only BrickColor codes.
  42. CLOUD_TRANSPARENCY = 0.25
  43.  
  44. wait(1.5)
  45.  
  46. function radiation(hit)
  47. local h = hit.Parent:findFirstChild("Humanoid")
  48. local DAMAGE = 10
  49. if h~=nil then
  50. h.WalkSpeed = 5
  51. h.Parent["Right Leg"]:Destroy()
  52. h.Parent["Left Arm"]:Destroy()
  53. for i =1,h.MaxHealth do
  54. h.Health = h.Health - DAMAGE
  55. wait(1)
  56. end
  57. end
  58. end
  59. function unanchor (m)
  60. for _,i in pairs (m:GetChildren()) do
  61. if i:IsA("Part","Model","Union","WedgePart","CornerWedgePart") then
  62. -- i.Anchored = false
  63. local Fire = Instance.new("Fire")
  64. Fire.Parent = i
  65. Fire.Size = math.random(5,10)
  66. i.Material = "CorrodedMetal"
  67. i:BreakJoints()
  68. i.BrickColor = BrickColor.new(26)
  69. i.Touched:connect(radiation)
  70.  
  71. else
  72. unanchor(i)
  73. end
  74. end
  75. end
  76. unanchor(game.Workspace)
  77.  
  78. Sound.SoundId = "http://www.roblox.com/asset?id=2248511"
  79. Sound.PlaybackSpeed = 0.2
  80. Sound.Playing = true
  81. Sound.Volume = 10
  82.  
  83. Model.Name = "Mushroom Cloud"
  84. Cloud1.Parent = Model
  85. Cloud1.Anchored = true
  86. Cloud1.CanCollide = false
  87. Cloud1.Locked = true
  88. Cloud1Mesh.Parent = Cloud1
  89. Cloud1Mesh.MeshType = "FileMesh"
  90. Cloud1Mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  91. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(95,300,195) --1999
  92. Cloud2.Parent = Model
  93. Cloud2.Anchored = true
  94. Cloud2.CanCollide = false
  95. Cloud2.Locked = true
  96. Cloud2.Position = Cloud2.Position + Vector3.new(0,587,0)
  97. Cloud2Mesh.Parent = Cloud2
  98. Cloud2Mesh.MeshType = "FileMesh"
  99. Cloud2Mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  100. Cloud2Mesh.Scale = Cloud2Mesh.Scale + Vector3.new(399,399,649)
  101. Cloud1.Transparency = CLOUD_TRANSPARENCY
  102. Cloud2.Transparency = CLOUD_TRANSPARENCY
  103. Cloud1.BrickColor = BrickColor.new(NUKE_COLOR)
  104. Cloud2.BrickColor = BrickColor.new(NUKE_COLOR)
  105. sky.Parent = game.Lighting
  106. sky.Name = "NukeSky"
  107. sky.CelestialBodiesShown = true
  108. sky.SkyboxBk = "http://www.roblox.com/asset/?version=1&id=1012890"
  109. sky.SkyboxDn = "http://www.roblox.com/asset/?version=1&id=1012891"
  110. sky.SkyboxFt = "http://www.roblox.com/asset/?version=1&id=1012887"
  111. sky.SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1012889"
  112. sky.SkyboxRt = "http://www.roblox.com/asset/?version=1&id=1012888"
  113. sky.SkyboxUp = "http://www.roblox.com/asset/?version=1&id=1014449"
  114. explosion = Instance.new("Explosion")
  115. explosion.Parent = game.Workspace
  116. explosion.BlastRadius = 9999999999999
  117. explosion.BlastPressure = 10000000
  118. game.Lighting.Brightness = 999
  119. game.Lighting.OutdoorAmbient = Color3.new(1,0,0)
  120. wait (1) --Fireball
  121. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --200
  122. wait (0.25)
  123. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --400
  124. wait (0.25)
  125. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --600
  126. wait (0.25)
  127. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --800
  128. wait (0.25)
  129. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1000
  130. wait (0.25)
  131. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1200
  132. wait (0.25)
  133. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1400
  134. wait (0.25)
  135. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1600
  136. wait (0.25)
  137. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,100,0) --1700
  138. wait (30) --End phase of the nuke
  139. game.Lighting.Ambient = Color3.new(0,0,0)
  140. game.Lighting.OutdoorAmbient = Color3.new(127 / 255,127 / 255,127 / 255)
  141. sky:Destroy()
  142. game.Lighting.Brightness = 1
  143. Cloud1.BrickColor = BrickColor.new(1)
  144. Cloud2.BrickColor = BrickColor.new(1)
  145. Cloud1.Transparency = 0.6
  146. Cloud2.Transparency = 0.6
  147. wait (5)
  148. Cloud1.Transparency = 0.7
  149. Cloud2.Transparency = 0.7
  150. wait (5)
  151. Cloud1.Transparency = 0.8
  152. Cloud2.Transparency = 0.8
  153. wait (5)
  154. Cloud1.Transparency = 0.9
  155. Cloud2.Transparency = 0.9
  156. wait (120)
  157. Cloud1:Destroy()
  158. Cloud2:Destroy()
  159. --BrickColor codes: http://wiki.roblox.com/index.php?title=BrickColor_codes
  160. end)
Add Comment
Please, Sign In to add comment