I'm making a Fly system in Roblox where I overwrite the animation IDs in the Animate script when a player toggles Fly via UI. It works perfectly on the client, but on the server the animations mix with the old ones. Changing the Humanoid state or cloning Animate doesn't help. How can I force Animate to immediately use the new IDs for both client and server?
#Roblox Animate Script + Custom Fly Animation Sync Issue
1 messages · Page 1 of 1 (latest)
Huh
Send an video
Change the animation priority to combat
Make a script for the animation
There are two versions: server and client. They both have the basic actions: idle, jump, fall, run, and walk. I also have my own version with idle, jump, fall, run, and walk.
Why are you animating on the server? Is there a specific use case for that?
Animations played on a player automatically replicate from client to server.
In the Morph system, there’s a client script called Animate. When I swap the animation IDs, the basic actions change to my own. It works fine on the server, but the animations appear mixed with the defaults. On the client, they look fine. I guess it’s because the Animate script isn’t updating right away.
** You are now Level 2! **
The only potential fix I could think of is destroying the animator and creating a new one
Prior to loading then
Them*
The only potential fix I could think of is destroying the animator and creating a new one, but even when I tried that, the animations still looked mixed.
Huh
Well have you tried naming them something different, and calling them under a different name?
I’ll send the video over later.
I doubt it would work, but when out of ideas throw shit at the fan
It works fine on the client, but on the server the animations get mixed. That doesn’t mean the IDs aren’t being replaced, though
Huh
It looks like the server is attempting to load both animations
Not that their mixed up
Strangely enough have you tried a 2 player test
** You are now Level 16! **