Whats the state of the humanoid when it isn't moving?
I believe that's gonna be HumanoidStateType.Physics, you can find a list of all the Humanoid States here
HumanoidStateType.Physics
Don't forget to mark my answer as the solution and upvote it if it answered your question :)