I’m making a fighting game that will of course allow you to select different characters. To do this I’m making it so player’s characters do not automatically load in so the server can set Player.Character to a model from replicated storage of the character they chose. In each model is a basic animation local script for idle/walking animations and it works perfect on the client of course but the animations are not replicating to the server. I’m assuming it’s because the character is being set with Player.Character but I can’t find a solution. I tried using a server script for the animations but it makes it so when you start/stop moving the animations are delayed
2 Likes
Try creating an Animator
object inside of the Character’s Humanoid from the server – this will allow you to continue using LocalScripts to handle the Animations.
When I made a basic custom character system, I added in Animator objects that way and it resolved the issue. This is also mentioned on the Developer Hub page:
For animation replication to function it is important for the Animator to be first created on the server.
5 Likes
Thanks so much this worked I’ve been stressing for like the past 2 hours trying to fix it
1 Like