Animation wont play

Local script in character

local Character = script.Parent

local LoadedAnimation = Character.Humanoid:LoadAnimation(script.Sw0)
LoadedAnimation:Play()

the animation object is inside the script
image

I searched the entire internet for help and I did the exact same
also I rigged a sword to the character arm with another script

check the animation priority the script seems fine if the animation won’t play it mostlikely that the animation is the problem

1 Like
  1. The animation is probably not your’s

  2. Humanoid:LoadAnimation(script.Sw0) is deprecated, use Humanoid:WaitForChild("Animator"):LoadAnimation(script.Sw0) instead

  3. You probably didn’t check the animation priority

  4. You didn’t show the video

1 Like

totally forgotten the animation priority part thank you.

2 Likes

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