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 6 years ago
Player.Character.Humanoid.Running:connect(function(speed)

            if speed < 5 and LRAnim.IsPlaying == true then

                LRAnim:Stop()


            end
end)

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