How to get part's speed?

Hello developers,

I’m making custom animate script and getting hard to get HumanoidRootPart’s actual speed.

I know it requires using Velocity, but it sometimes be wrong number.

I think someone might ask me using Humanoid.WalkSpeed instead, but I can’t because my other script change player’s speed by Player:Move() if player is moving backward.

Any helps would be appreciated!

isnt like .Running event do output speed?

I solved the problem by using Vector3.new(Velocity.X, 0, Velocity.Z).Magnitude. Thank you for helping me though.

2 Likes

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