I never really understood the issue to be honest because I am not 100% sure on how animations work on both the server and client, but I am assuming you were trying to do some sort of animation/dance syncing?
I’ve made an example script in the provided place file below that could maybe help you with your current issue but that’s all I can help you with for now.
To explain how the code works is that first on the server, the script plays a looped animation on a dummy/npc that we are going to be syncing with. Then there will be a LocalScript that will detect when we click on the dummy, which then gets the AnimationTrack of the dummy, plays the exact same animation on our player, and then sets the TimePosition to the npc’s TimePosition right after we play the animation.
AnimationSyncing.rbxl (81.6 KB)
I apologize that I couldn’t help you with your actual script but I hope this could give you a clearer idea on how to solve your issue,