With LoadAnimation just not existing, how do i have a walk animation play on both client and server? I have one working on client and other one press animations working on server side as well like jump or idle, but walking/running does not work.
2 Likes
The client owns its own character, so you can just play animations on the client on its own character and it will replicate it to the server and all other players.
2 Likes
There’s a good explanation of this on the docs under the header “Loading an Animation on Client or Server” listed under the function LoadAnimation:
- If an Animator is a descendant of a Humanoid or AnimationController in a player’s Player.Character, animations started on that player’s client will be replicated to the server and other clients.
- If the Animator is not a descendant of a player character, its animations must be loaded and started on the server to replicate.
1 Like
You don’t need to play animations on the player’s own character separately on the server. The player has network ownership over their character, so all animations will automatically convey.
1 Like