Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do i make it so the animation stops restarting?

Asked by 3 years ago
Edited 3 years ago
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?

1
Only play the animation if walk.IsPlaying is false Optikk 499 — 3y
0
ty it worked soreno2468 31 — 3y

Answer this question