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

Wont stop the animation when speed is less than 5?

Asked by 7 years ago
1Player.Character.Humanoid.Running:connect(function(speed)
2 
3            if speed < 5 and LRAnim.IsPlaying == true then
4 
5                LRAnim:Stop()
6 
7 
8            end
9end)

What I've made is a running Animation which is LRAnim and what I'm trying to do is is the speed is less than 5 then stop the animation, to which the normal walking animation will be played(Different). It's not stopping the animation though.

Answer this question