'Animation failed to load' error

I am currently attempting to animate a weapon, and a problem I am having is that in line 7 an error is thrown up. It provides no source or link and simply says this:

Here is my code, if you notice anything wrong with it that might cause this bug.

`

Have you tried preloading this using PreloadAsync()?

The AnimationId property has to be formatted like any other ID, rbxassetid://ID. It’s still an asset on the website and as such requires the rbxassetid:// prefix.

@AbiZinho Preloading the animation would make it load faster when initially used but wouldn’t fix this error.

5 Likes