Animations not playing as expected

I want to play an animation to the Wings model that is parented in the Character, but it doesn’t play the animation. But when parenting the Wings model in a Dummy it works fine. Not sure if I am doing something wrong or it’s just not possible to play animations inside a model’s model.

local Anim = Instance.new("Animation")
Anim.AnimationId = self.WingAnims["FlyingIdle"]
local AnimController = Instance.new("AnimationController", Character.Wings)
local AnimTrack = AnimController:LoadAnimation(Anim)
AnimTrack:Play()
1 Like

Is this a Script or a LocalScript?

it is a module script but is used on the client side

Not sure if this has anything to do with it, but if you play an animation on the client, only that certain player can see it. If you want everyone to see it, I recommend loading it and playing it on a regular Script.

I tried doing it with a script right now, and it still didn’t play the animation, but on a Dummy it works fine.

I’m pretty sure animations replicate to the server since players have network ownership of their characters.

the issue has been fixed by using SetNetworkOwnership on all the parts in the model

3 Likes

I’m curious, how was this done? I am having a similar problem loading animations using Animation Controllers.