Animation not playing, no errors

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?

Try this

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

):

Are you sure you own the animations and the game is created under your account? Or is it a group game?

Maybe try to load the animation through the Humanoid’s Animator rather than just from Humanoid itself?

1 Like

problem was the animationproprity too low

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.