Player movement.

Is there a function that returns if the player is moving? Is there one that returns how fast a player is moving. Well without having to get there position and check if it changes. If not I’ll just use that, I know how.

ply:GetVelocity() returns a vector of each velocity in all 3 axes, X Y and Z.

To get his speed rather than his velocity do ply:GetVelocity():Length()

To check if he’s moving, use

[lua]if ply:GetVelocity():Length() > 0 then

Thank you, I looked up speed, sprint, run, but not velocity. Thank you.

thats not how you sit in a chaaair