#why my animation isn't working?

11 messages · Page 1 of 1 (latest)

mellow kelp
#

hey guys, i have a problem. i created rig in mixamo and export my model with animation in fbx. after this i added the bones in roblox animator. at final i wrote script:

local Anim = script.Parent:WaitForChild("AnimationController"):LoadAnimation(script.Idle);
Anim.Looped = true;
Anim.Priority = Enum.AnimationPriority.Action4;
print(Anim);
Anim:Play();
print("abc");

but my animation not play and output is empty

#

and it's printing "Idle" (name of animation instance) and "abc"

pearl lily
#

do u got an animation id on animation controller

mellow kelp
#

yes, I have already tried many times to republish my animation

wintry sequoia
#

also you can just automatically set Looped to true since that animation you got exists

#

if you are using this in the player it should be a localscript and in startercharacterscripts. but for rigs it should be a regular serverscript

#

the printing starts earlier since animation:play() is ignored and it will print the text
you just do like wait till the animation completed and print the abc

wintry sequoia
#

for players there should be an "Animator" thingy where you can load animation