I’m trying to have the humanoid play an animation when a button is pressed and the humanoid is running.
In the 2nd spoiler, every print is me hitting Q.
This is my code
This is the result
Am I using :GetState() correctly?
If I am, then why is this so inconsistent?
It should only print “no” if the player isn’t running, but it still prints this regardless of the fact that it’s running or not.
I would love to get some advice.
Thanks in advance.
If you want to eliminate the condition of also “standing in place”, then you should probably connect to humanoid.Running and check if the argument (speed) passed to it is greater than 0.1 or not.