My sword animation isin't working properly(solved)

i would like you to help me find the source of the problem

my sword animation won’t work for the right arm of the character


i already tried doing a realy simple animation instead of a complicated one but it still doesnt work

1 Like

Load animation should be done through the server if I’m not mistaken. One of the few parameters that would seem to be client side, are actually server side.

Correct me if I’m wrong ppl

Make sure of the following:

1. The animation is published under the same profile/group the game is under (with some exceptions)
2. The animation’s priority is higher than Core
3. The animation is played using a LocalScript. According to the devhub article on Humanoid:LoadAnimation, you should genrally be using the client to play animations on its own character.

1 Like

I’m half correct.
Upon further research, depending on how the animation controller was created (client or server) the animation track must be loaded the same way.

Since the himanoid was created by the server, the animation must be played from the server side.

so…
i should totaly change my local script?

also i Don’t know what is a core

Your LocalScript should work, what you probably need to do is change the animation priority.

How to do it
  1. Open up the animation editor.
  2. Import/load your animation
  3. Go to Edit > Set Priority
    image
  4. Click on “Action”
    image
  5. Re-export the animation to the existing id

AnimationPriorities determine whether an animation should have priority over another when playing.
More info on the devhub here and here.

4 Likes

okay ,i’m going to try it right now

i put it to action and it worked ty so much :smiley: