Diffrent way to check if player is moving

Hello. Im currently having some issues. Function humanoid.Running or enum.HumanoidState isnt really working in my script. That’s because i need to check if player is moving at the moment of another event firing. Is there any other way to check player movement?

1 Like

You could check their CFrame or Position, and see when it changes

1 Like

Thank you! I wrote simple script based on ur idea and it works.

1 Like

No problems :slight_smile: Glad I could help :slight_smile:

1 Like

You can check their HumanoidRootPart’s CFrame or Position just like @Valkyrop said. But You can also check if their Humanoid’s MoveDirection’s Magnitude is bigger than 0 - This means that their Humanoid is currently moving.

-- Assuming we have a Humanoid variable
if Humanoid.MoveDirection.Magnitude > 0 then

end
3 Likes