SHOW:
|
|
- or go back to the newest paste.
| 1 | - | plr = game.Players.LocalPlayer |
| 1 | + | local explosion = Instance.new("Explosion", game.Workspace)
|
| 2 | - | mouse = plr:GetMouse() |
| 2 | + | explosion.Position = bomb.Position |
| 3 | - | function onClicked() |
| 3 | + | explosion.BlastRadius = explosionRadius |
| 4 | - | local x = Instance.new("Explosion", workspace)
|
| 4 | + | explosion.BlastPressure = 1 |
| 5 | - | x.Position = mouse.Hit.p |
| 5 | + | explosion.Visible = false |
| 6 | - | x.BlastRadius = 10 |
| 6 | + | explosion.Hit:Connect(function(hitPart) |
| 7 | - | x.BlastPressure = 9e9 |
| 7 | + | if hitPart.Anchored == false then |
| 8 | - | end |
| 8 | + | hitPart:Destroy() |
| 9 | - | mouse.Button1Down:connect(onClicked) |
| 9 | + | end |
| 10 | end) | |
| 11 | end |