I am using animations for weapons in my game. On the client, the animations are loaded onto the Humanoid once the weapon is equipped. The animations run fine on the client, but once viewed on the server there are times where the animations are not replicated at all.
This problem is not animation specific, there are times where attack, idle or running animations are not replicated. What tends to fix the problem is playing the animation again. In the examples, my running animation is not replicated to the server, but by stopping and moving again, the running animation is played and appears normal on the server.
I am waiting for all animations to finish loading onto the humanoid before playing anything. In a last ditch attempt, I added a random wait time after loading the animations before playing anything, but whether the wait time is 1 or 10 seconds, the bug still occurs.
Any suggestions are welcomed, thank you!
EDIT: I rechecked a thread whose problem was similar to mine. Turns out someone had recently replied and given their own suggestion so I gave it a shot.
I was previously loading all animations into the humanoid when you first equip the weapon, the change I made was to only load animations when they were about to be used, instead of all at once. Changing my system to perform this way caused/revealed even more bugs, but once I fixed those, the weapons were animating as intended. See here.
Thanks for the replies!