How to play a rig's animation on ApplyDescription()

I want to load a player’s animation to the rig but it keeps saying that it’s not verified.
I have searched the web and found that I have to “verify” the id.
I have also found that it plays the animation when it loads the character but it doesn’t.
Please help.

script;

local description = game.Players:GetHumanoidDescriptionFromUserId(id)
	script.Parent.Rig.Humanoid:ApplyDescription(description)
	local idleanim = Instance.new('Animation')
	idleanim.AnimationId = 'rbxassetid://'..description.IdleAnimation
	local track = script.Parent.Rig.Humanoid:LoadAnimation(idleanim)
	track.Looped = true
	track:Play()

This might be because the actual animation you are trying to use isn’t verified by the creator

Do you have an animation that you currently own that you could test out

I may be wrong, so correct me if I am

Yes, I have many animations that I could use but this animation is by roblox.
(Its the cartoon idle anim)

Hmm.

Just wanting to confirm, can you try printing out
print(description.IdleAnimation)
And telling me what it shows

I have done this before and I can confirm that it is actually the animation id.
Here it is btw “837011741”

Yeah, this is pretty weird

I’m not sure what I can do, sorry

You’re getting an ID that’s exclusively made to be equipable for your avatar, not the actual animation ID that Animation object is expecting for, you’ll have to find out the real one instead

Screenshot_2024_1117_235343

There was an API that returns animations from a bundle linked to AssetService, not familiar since i haven’t used it either but atleast should return the dictionary of many animations you can find.