Help with dashing system

I made a dashing script and it has a problem that is undesirable. If you are on the ground and you decide to dash it will barely move and friction will slow you down. if you jump and dash it will move further.

Dash on ground:
https://gyazo.com/d2da641f718d1452fedb9a41e51cc85d

Dash in air:
https://gyazo.com/4005e53d1f05f6669ef8128527743d2b

Is there anything i can do about friction or is there an alternative instead of using roblox physics?

What kind of Velocity object are you using for your Dash? You could maybe use

  • BodyVelocity

  • BodyForce

  • AssemblyLinearVelocity (Maybe?)

  • (Not sure about BodyThrust)

im just changing the HumanoidRootPart.Velocity value im not using body forces. is this bad?

O h

Well yes, since the Velocity property for BaseParts is now deprecated you’d need to result in using a different approach instead

There are a couple of ways we can do this, but how about let’s try using a BodyVelocity? We could just simply parent that object to the Character’s HRP, and set its Velocity property to its current LookVector

That should prevent it from stopping at all if we manage to set the MaxForce property high