it works with me, play the animation from beginning maybe.
I have this for me
Condition 1- player is moving
SubCondition 1 - shift key not down -> play walk animation
SubCondition 2 - shift key down -> play sprint animation
Condition 2-else -> play stand animation
Try adding this?
Condition 1- player is moving
SubCondition 1 - shift key not down AND walk animation not playing -> play walk animation
SubCondition 2 - shift key down AND Sprint animation not playing -> play sprint animation
You are probably resetting it to the first frame of the animation every tick. If the animation is already playing then nothing needs to be done.