#Roblox Animate Script + Custom Fly Animation Sync Issue

1 messages · Page 1 of 1 (latest)

snow panther
#

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?

tepid marsh
#

Huh

#

Send an video

#

Change the animation priority to combat

#

Make a script for the animation

snow panther
#

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.

haughty olive
#

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.

snow panther
#

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.

nocturne forgeBOT
#

studio** You are now Level 2! **studio

haughty olive
#

The only potential fix I could think of is destroying the animator and creating a new one

#

Prior to loading then

#

Them*

snow panther
#

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.

haughty olive
#

Huh

#

Well have you tried naming them something different, and calling them under a different name?

snow panther
#

I’ll send the video over later.

haughty olive
#

I doubt it would work, but when out of ideas throw shit at the fan

snow panther
#

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

haughty olive
#

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

nocturne forgeBOT
#

studio** You are now Level 16! **studio

snow panther
#

I just solved rn

#

🙂

haughty olive
#

?

#

Do tell