Is there a proper way of inputting an ID in an Animation object?

Hi, so I’ve been working on a system involving character animations, but for whatever reason, I always get the “animation failed to load” error for each and every animation. I wondered, could I be inputting the ID ncorrectly?

It has the rbxasset then the slashes and ID, I wondered if there should be a different prefix or something.

More background, I’m working on a system for a guy and I figured it was because I was attempting to use his animations in my own game, so we made a team create, but the animations that he made still failed to load…

Confused by this, any help appreciated. Thanks!

Animation.AnimationID = "rbxassetid:// ID"

Make sure that you remove the space, so : “rbxassetid://12345678”, as an example.

2 Likes

That’s exactly it. However, it still fails to load in Studio.

I just tested this on a team create server-sided, and it worked.

Kind of strange…

Thanks for your reply

If you’re in a Team Create with the owner’s animations, then they will fail regardless. The only bypass I see to this, in my own experience anyway, is by having the place in a group and posting the animations to the group.

You could additionally test-play in-game to view the creator’s animations.

2 Likes

Ah I see.

Thanks for the clarification :slight_smile:

Forgot to add as well, you could ask him to make a rig with the animations you want to use, so that you can download them to your profile. (This can be achieved with the Animation Plugin, and loading a saved animation in the rig)

1 Like