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

is there any way to fling the player without using an explosion?

Asked by 4 years ago

so i made a particle explosion but i want to when the player steps on it to fling or yEET the player

1 answer

Log in to vote
0
Answered by
Lakodex 711 Moderation Voter
4 years ago

Here's my Old script for my OLD admin commands

function onTouched(hit)
    local character = hit.Parent
    if character and character:findFirstChild("Humanoid") then
        local b = Instance.new("BodyPosition")
        b.position = Vector3.new(500, 500, 500)
        b.maxForce = Vector3.new(500000000, 500000000, 500000000)
        b.Parent = character.Torso
        wait(3)
        b.Parent = nil
    end
end
script.Parent.Touched:connect(onTouched)
Ad

Answer this question