Walking animation keeps playing

Hello! I’m trying to change the walking animation using the default roblox Animate script.

image

It works just fine until any sort of velocity is applied to the character. What happens is that the walking animation keeps playing even though the character is standing still. Jumping/Walking after this issue occurs seems to fix it.
https://gyazo.com/ed3f10033b584d3fa7cc26cad8527ad1

I should mention that the animation I’m using is looped and has its priority set to core.

Try turning Looped off. That may be the issue.

I tried and the animation won’t play after it ends unless I stop and start walking again.