Advertisement
Guest User

improved version of that short nuke script

a guest
May 27th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Fuse = script.Parent
  2.  
  3. function onTouched(hit)
  4. Fuse.Smoke.Enabled = true
  5. wait(5)
  6. msg = coroutine.create(function()
  7.     while wait(0.4) do
  8.         msg = Instance.new("Message",workspace)
  9.         msg.Text = "TACTICAL NUKE INCOMING"
  10.         wait(0.4)
  11.         msg:Destroy()
  12.     end
  13. end)
  14. explosion = Instance.new("Explosion")
  15. explosion.BlastRadius = 20
  16. explosion.BlastPressure = 100
  17. explosion.Position = script.Parent.Position
  18. explosion.Parent = game.Workspace
  19. script.Parent.Parent:remove()
  20. connection:disconnect()
  21. end
  22. coroutine.resume(msg)
  23. connection = Fuse.Touched:connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement