Hello. I am trying to make a script load and then play an an animation. there is no error in the output. the way i do it is
local anim = script.fightanim
Humanoid:Loadanimation(fightanim)
fightanim:play()
for some reason it doesnt work and i am quite desperate at this point.*
the rig has a sword in it while the animation was created. do then names of the limbs of the rig matter?
if humanoid then
local animationTrack = humanoid:LoadAnimation(animationInstance)
if animationTrack then
animationTrack:Play()
else
print("Failed to load animation")
end
else
print("Humanoid not found")
end