Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how do I make a script On touch explosion?

Asked by 6 years ago

like if a player touch a part he explodes

1 answer

Log in to vote
0
Answered by 6 years ago
part = script.Parent
plr = game.Players:GetPlayerFromCharacter(part)
wait = game:WaitForChild(plr)
while true do
    if plr and wait then
        local explosion = Instance.new("Explosion")
        explosion.Parent = plr.Character
        explosion.BlastPressure = 10000000
        explosion.BlastRadius = 3
    end
end

Scripting Helpers is not a request site.

0
Then why did you help Zafirua 1348 — 6y
Ad

Answer this question