Advertisement
Guest User

Roblox - Click Explosion Script

a guest
Apr 9th, 2018
7,784
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. local Tool = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  2. Tool.Name = "Detonater"
  3. local Mouse = game.Players.LocalPlayer:GetMouse()
  4.  
  5.  
  6. Mouse.Button1Down:connect(function()
  7. if Tool.Active == true then
  8. local explosion = Instance.new("Explosion")
  9. explosion.BlastPressure = 1000000
  10. explosion.BlastRadius = 55
  11. explosion.DestroyJointRadiusPercent = 1
  12. explosion.ExplosionType = "Craters"
  13. explosion.Parent = game.Workspace
  14. explosion.Position = Mouse.Hit.p
  15. explosion.Hit:connect(function(Part, Distance)
  16. Part.Anchored = false
  17. Part:BreakJoints()
  18. end)
  19. end
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement