Advertisement
pitrioptixiop

Roblox | Nuke script

Feb 24th, 2018
29,067
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.37 KB | None | 0 0
  1. --thank you for bringing this paste 1k views! :)
  2.  
  3. hint = Instance.new("Hint",workspace)
  4. nuke = Instance.new("Part",workspace)
  5. nuke.Size = Vector3.new(5,50,5)
  6. nuke.Material = Enum.Material.DiamondPlate
  7. nuke.BrickColor = BrickColor.Gray()
  8. nuke.CFrame = CFrame.new(0,10000,0)
  9. bodypos = Instance.new("BodyPosition",nuke)
  10. bodypos.MaxForce = Vector3.new(100,100,100)
  11. bodypos.D = 100
  12. bodypos.P = 5
  13. bodypos.Position = Vector3.new(0,0,0)
  14. debounce = false
  15. size = 5
  16. waittime = 0.0001
  17. hint.Text = "TACTICAL NUKE! INCOMING!"
  18. nuke.Touched:connect(function()
  19. if debounce == false then
  20. debounce = true
  21. nuke.Anchored = true
  22. boomboom = Instance.new("Part",workspace)
  23. boomboom.BrickColor = BrickColor.new("Gold")
  24. boomboom.Shape = Enum.PartType.Ball
  25. boomboom.Anchored = true
  26. boomboom.Transparency = 0.5
  27. boomboom.TopSurface = Enum.SurfaceType.Smooth
  28. boomboom.BottomSurface = Enum.SurfaceType.Smooth
  29. boomboom.CanCollide = false
  30. boomboom.CFrame = CFrame.new(0,0,0)
  31. boomboom.Touched:connect(function(hit)
  32. hit:BreakJoints()
  33. end)
  34. while true do
  35. wait(waittime)
  36. expl = Instance.new("Explosion",workspace)
  37. hint.Text = "NUKE HAS GAINED "..tostring(boomboom.Size.Y).." STUDS OF SIZE!"
  38. expl.BlastPressure = 999
  39. expl.BlastRadius = size
  40. expl.Position = Vector3.new(0,0,0)
  41. boomboom.Size = boomboom.Size + Vector3.new(size,size,size)
  42. size = size + 0.001
  43. waittime = waittime - 0.001
  44. end
  45. end
  46. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement