BodyVelocity flight issue

I have a script here that lets a user perform a stunt. When they play the trick, if they’re on edge, they can float forward until the stunt ends. What I want is for the user to fall like normal gravity if they’re on a rim.
My script:

elseif key.KeyCode == Enum.KeyCode.E then
				if candash2 and force >= 30 then
					candash2 = false
					force = force - 30
					local v ='BodyVelocity')
					v.MaxForce =,math.huge,math.huge)
					v.Velocity = char.HumanoidRootPart.CFrame.lookVector *,50,50)
					v.Parent = char.Torso
					candash2 = true

What are my options? Examples appreciated! :slight_smile:

1 Like

My character also trips on parts, how do I get rid of the “float”/

Remove the body velocity when you don’t hold the key or the stunt is done or what ever you call it

Remove or reduce the forces applied on the Y axis

v.MaxForce =,0,math.huge)
v.Velocity = char.HumanoidRootPart.CFrame.lookVector *,0,50)
1 Like