How do i set a custom walk animation for my game?

I want a custom walk animation,
i’ve tried this
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
wait(3)
char.Animate.walk.WalkAnim.AnimationId = “rbxassetid://5620305516”
char.Animate.run.RunAnim.AnimationId = “rbxassetid://5620305516”
end)
end)
and it’s not working. (yes i have got the anim saved)

Go into playtest mode, fork(copy) the Animate script from the character, end playtest, then paste it in StarterCharacterScripts. Lastly, you would paste the ids into the animations manually.

1 Like

Also, note that your animation will not work if it’s longer than the default animation length, this was the main problem for me when I tried to change it.

done that and i entered both my walk and run anim but its only playing my run anim all together

what is the default animation length

Not sure, you can check on the wiki’s or by just taking the default animation ID and import it into your animation editor and see.