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

My walking animation is not working and it still plays the old walking animation. How do i fix it?

Asked by 3 years ago

So this is my animation: https://gyazo.com/311545e200b5db4304c146a9b7f97f4e

And this is what comes up: https://gyazo.com/1ea611cdfd17d0a3cd2c677d39a36017

Here's my script: (I put this in the server script storage)

game.Players.PlayerAdded:Connect(function(player)
    player.CharacterAdded:Connect(function(character)
        character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://7332121349"
    end)
end)

I also tried this: https://gyazo.com/2adfb2060ac79bbe17e8250bca0561d5 Putting the "animate" from the character and editing the animation into the StarterCharacterScripts.

There are no errors pertaining to my script.

i'm still new to animating so I apologize for this simple question.

0
Try to change the run animation instead. I think R6 uses walkAnim and R15 uses runAnim. If I'm wrong someone correct me MarkedTomato 810 — 3y
0
FINALLY, thank you so much @MarkedTomato it is working now, you should put your comment in the answers. RichDiggerW189 2 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

the Run animation played by ROBLOX automatically when at full speed is different from the Walk animation, which you altered. triggering the Walk animation on PC is impossible without changing the Humanoid's WalkSpeed. however, since mobile players can control their speed, triggering the Walk animation on phones, tablets, consoles and other platforms which can control their speed, if any, is very much possible and easy.

to fix the problem, just do:

game.Players.PlayerAdded:Connect(function(player)
        player.CharacterAdded:Connect(function(character)
            character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://7332121349"
        character.Animate.run.RunAnim.AnimationId = "rbxassetid://7332121349"
        end)
    end)
Ad

Answer this question