Player falls over when performing a stunt and hitting a part

I have a script that allows a user to perform a stunt, the issue is when they’re performing the stunt if they crash into a part or a wall they trip over (e.g. stairs) How can I fix this?
Script:

elseif key.KeyCode == Enum.KeyCode.E then
				if candash2 then
					candash2 = false
					local v = Instance.new('BodyVelocity')
					v.MaxForce = Vector3.new(math.huge,0,math.huge)
					v.Velocity = char.HumanoidRootPart.CFrame.lookVector * Vector3.new(50,0,70)
					v.Parent = char.Torso
					wdash:Play()
					debris:AddItem(v,0.7)
					wait(1.5)
					candash2 = true
					wait(0.4)
				end

I tried to make the character go slower, but that didn’t solve the issue well.

1 Like

Are you using a custom rig or are the players scaled too big?

If so, try lowering the density through custom physics.

1 Like

It’s character is a morph, but even without the morph the issue remains.

1 Like

Hey,
I just tried using that script, but it failed and only flung the character across the map.