How to prevent the character from falling when the dash hits the wall?

i use bodyvelocity for dash

This is my script

	local BV = Instance.new("BodyVelocity", plr.Character.HumanoidRootPart)
	BV.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
	BV.Velocity = plr.Character.HumanoidRootPart.CFrame.LookVector*80 

The video doesn’t seem to work for me, but have you tried messing with Humanoid:SetStateEnabled?

Why would you use a body velocity for dash when you can just change the walkspeed.

I uploaded the photo, when I used dash on the wall or some other obstacle, my character fell down