Can't Get Custom Wings to Play Animation while on Back

I have modeled, and animated wings inside of blender. I then loaded that animation into Roblox, and saved it as “Flying”.
Now I have used a script to take off a person’s previous back accessories, and Motor6D Weld my wings there instead.
This is all using the model Roblox sets up when you put something animated from blender into Studio.

This is my first time doing something of the sort, as you can see on the right I have 3 animation objects inside the model.
Flying = “Animation”
WingsAnimation = “AnimationController”
Animator = “Animator”

I know an AnimationController is used when what you’re animating isn’t a humanoid. However I’m getting confused on how I should script this to run the animation.

If you could lead me into the right direction to get the wings animation playing while they are also equipped I would appreciate it a ton. Some clarity would be very helpful!

image

1 Like

I’m just going to bump this, I changed the title XD

Try making sure the Instance are correct.

image

Example load animation then play script

local Character = script.Parent
local AnimationController = Character:WaitForChild("AnimationController")
local Animator = AnimationController:WaitForChild("Animator")

local animation = Instance.new("Animation")
animation.AnimationId = "http://www.roblox.com/asset/?id=507771019" -- Default dance for R15

local track = Animator:LoadAnimation(animation)

track:Play()

print("Dance")

No humanoid hence physics but joined with Motor6D:

Thank you, I appreciate it a lot!

wait how do I do it to make my cape move too