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

How to prevent character from getting launched?

Asked by
mxpvjn 75
4 years ago

I have a script that launches the player forward but if I hit an object I go flying. How would I go about preventing this?

    BV.Parent = Torso
    BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
    BV.Velocity = Torso.CFrame.lookVector * 500 + Vector3.new(0,0,0)
    wait(0.1)
    BV:remove()
    wait(0.3)
0
try making the characters humanoidrootpart anchored NSMascot 113 — 4y
0
or make the players walkspeed 0 NSMascot 113 — 4y
0
Still didn't work mxpvjn 75 — 4y

Answer this question