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)

3 comments

0

try making the characters humanoidrootpart anchored

0

or make the players walkspeed 0

0

Still didn't work