Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Tool = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
- Tool.Name = "Detonater"
- local Mouse = game.Players.LocalPlayer:GetMouse()
- Mouse.Button1Down:connect(function()
- if Tool.Active == true then
- local explosion = Instance.new("Explosion")
- explosion.BlastPressure = 1000000
- explosion.BlastRadius = 55
- explosion.DestroyJointRadiusPercent = 1
- explosion.ExplosionType = "Craters"
- explosion.Parent = game.Workspace
- explosion.Position = Mouse.Hit.p
- explosion.Hit:connect(function(Part, Distance)
- Part.Anchored = false
- Part:BreakJoints()
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement