i have no idea how is it not working, im using an animation controller on a model.
code:
01 | local gasteridle |
02 | local gasteropen |
03 | local gasterfire |
04 | local animctrl = gb.AnimationController |
05 | local idleanim = gb:WaitForChild( "Idle" ) |
06 | local openanim = gb:WaitForChild( "Open" ) |
07 | local fireanim = gb:WaitForChild( "Fire" ) |
08 | gasteridle = animctrl:LoadAnimation(idleanim) |
09 | gasteropen = animctrl:LoadAnimation(openanim) |
10 | gasterfire = animctrl:LoadAnimation(fireanim) |
11 | gasteridle:Play() |
I might try not defining the Animationcontroller with local. Try accessing it with gb.
Animations are weird, I know. They don't like local, they prefer the rig they were made with. That's a big one as well. Did you animate the animations with the rig you're trying to use? That may be why they won't play.