Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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.

2 comments

0

Try to change the run animation instead. I think R6 uses walkAnim and R15 uses runAnim. If I'm wrong someone correct me

0

FINALLY, thank you so much @MarkedTomato it is working now, you should put your comment in the answers.

1 answer

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)

This discussion is preserved as it was. New answers, comments, and votes are closed.