Help making a slow down when the player stops moving

In simple terms its when your moving one way and you turn the other way you slowly slow down like your on ice until you come to a full stop then you speed back up to the original speed

Ive been looking around and i cant find really anything useful or helpful

I just need some guidance and help on where to start and any helpful resources if you can!

Heres basically what im trying to achieve, skip to 0:03

I guess u can have a constant variable in your game: ForceConstant : NumberValue

I guess u can just multiply all your forces by this coefficient value. IF you want half speed set the coefficient to 0.5, all forces and assembly velocities will be multiplied by 0.5

Do you think you can put it into an example?

You can tween the speed of the humanoid, or do something like:

for i = 1, 16, .1 do
    Humanoid.WalkSpeed = 16 - i
end

and then just reverse it.

This post might help you checking if they turned the other way, or something like that.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.