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

How do I make my walking animation not stop while still walking?

Asked by 9 years ago

The script makes the animation run but while the player is still walking the animation stops. Is there a way to make it so it keeps on looping as the player walks?

Oh and when I die, the animations disappear. Please help on those two things :)

game.Players.PlayerAdded:connect(function(player)
    while not player.Character do wait() end
    local character = player.Character
    local animatescript = character.Animate

    animatescript.walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=268420501"
    character.Humanoid.WalkSpeed = 30

end)
0
This has to do with your animation, make the priority an Action, therefore it overrides the previous animation. Also, the Animation editor gives you an option to make it loop, located on the top, right corner. HungryJaffer 1246 — 9y

1 answer

Log in to vote
0
Answered by
KoreanBBQ 301 Moderation Voter
9 years ago

As Hungry said in his comment, it's pretty simple.

There are two things if you want your animation to keep going smoothly:

First, make sure in the animation creator plugin, when you make your animation, the "Loop" checkbox at the top right corner is checked (yellow).

Second, make sure your animation ends with your initial position if you don't want it to kind of freeze before restarting again. Make sure the last keyframe (I believe thats what they call every position) is really at the far end and is the same (or at least sensibly the same) as the beginning.

Hope this helps.

0
Thank you so much. That helped a tons! Alucifer 45 — 9y
0
No problem. Make sure you accept my answer in case someone is asking the same question in the future! KoreanBBQ 301 — 9y
Ad

Answer this question