Animation not playing on Custom Rig

I dont know if this should be inside the scripting category or the art.

Hi so i made a Wing model which has a custom rig, in blender. I tried to load the animation with this script:

local handle = script.Parent:WaitForChild("AnimationController"):FindFirstChild("Animator")
local track = handle:LoadAnimation(script:FindFirstChildOfClass("Animation"))
track.Priority = Enum.AnimationPriority.Action
track.Looped = true
track:Play()

the problem is that it doesnt play, it just stays still.

this is how it should look like:
https://gyazo.com/b9bfb7c350bfcbaf885e362e34abf0b2

does anyone know what’s the problem?

So the way that animations work is that they need a rig (kind of like a skeleton), so i would recommend getting a animation rig editor plugin so that you can make that much easier

hi, it already has a rig (bones), it works perfectly fine on the animation editor

oh nevermind, i had a humanoid AND a animationController in the same mode