My animation isn't loading

Hello, I am trying to load a slashing animation for a sword I am making, but it keeps giving me an error when I join an actual server. Solo testing and online testing in studio works fine.

The game I am working on is a group game, and I am the owner of the game and group. I also own the animation that I am trying to load.

This is the error it gives:

This is my code:
Code

This is the explorer/properties:
Explorer

I uploaded the animation to Roblox roughly 24 hours ago, so I find it hard to believe that it is still being moderated. Any help is appreciated. Thanks!

Was the animation created under the group or your account? Animations must be uploaded to the group if you’re planning to use them in a group game.

2 Likes

The animation is under my account. I will see what happens when the animation is uploaded to the group…

I uploaded that animation to the group, and it gives me this error while I test solo:
Error2

I suppose that the reason I see this message is because the animation is being moderated?

Whoops, I realized I was uploading a model, not an animation, to the group.

You can try using Inst_hum:LoadAnimation(scipt.Parent:WaitForChild("Slash") instead. I don’t know why that would help but you can try… Also, does the animation play but you get errors or does the script stop working. I have heard cases with audio where the audio works but people get errors. I am by no means an expert but that is what I would do… :man_shrugging:t2:

1 Like

The animation didn’t play, and it gave errors. The script also stopped working. However, by following Proxus’s advice, I have resolved my issue. What I did was upload my animation to my group then loaded it in my script.

1 Like

Ok then, make sure to mark Proxus’s answer as the solution.

1 Like