Animation working on server but not the client

Hi developers!
So I was making an R15 avatar for one of my games and I wanted it to look more alive, so I added a few animations

The animation is showing on the server but not the client.

The script is the following, (Script found inside the character model). For me and my collaborators, the script is looking fine. So I don’t think the problem is that .

local animationId = 123456789


local controller = script.Parent.Humanoid
local animation = controller:LoadAnimation(script.Animation)
animation:Play()
animation.Looped = true

Demo video :

Any help appreciated!

@ROBLOX_MATEMATH , @fabrice1236 and @Zand_C .

1 Like

One issue you can fix pretty fast!

Humanoid:LoadAnimation is depreciated. It’s now Animator:LoadAnimation

Humanoid:LoadAnimation (roblox.com)

4 Likes

Hello, so this fix doesn’t work for me. I’ve tried almost everything but the animations are still only working in studio. The animations are running on the server and are ran in the Animator:LoadAnimation Thing.
It is a group game but the animations are on the group so it shouldn’t be cause of that.

1 Like

Check a whole bunch of solution ideas here:
Animation’s not working on custom rig - Help and Feedback / Scripting Support - DevForum | Roblox

If you are stumped, send me a DM. Happy to help you narrow down the problem.