Humanoid.Running:connect(function(speed)
if speed >= 5 and speed <= 17 then
print("Running")
walk:Play()
else
walk:Stop()
print('stopped Running')
end
so this is the script and when im running in game with shiftlock on and when im pressing W + A or S or D it registers as another running making the animation restart, how do i fix this?

2 comments
Only play the animation if walk.IsPlaying is false
ty it worked