Roblox Default Animations - Not Loading

local animId = tonumber(script.Parent.Name)

if animId then
	script.Parent.MouseButton1Click:Connect(function()
		local anim = Instance.new("Animation")
		anim.AnimationId = "rbxassetid://" .. animId
		local char = game.Players.LocalPlayer.Character
		
		if char then
			local animator = char.Humanoid:FindFirstChild("Animator")
			if animator then
				local animTrack = animator:LoadAnimation(anim)
				animTrack:Play()
			end
		end
	end)
end

the name of the button is automatically set to the animation id before it loads, these are all roblox made animations however when loading them it always returns a sanitised animation error

these are my animations

local data = {
			{'Salute', 3360689775},
			{'Applaud', 5915779043},
			{'Tilt', 3360692915},
			{'Baby Queen - Bouncy Twirl', 14353423348},
			{'Yungblud Happier Jump', 15610015346},
			{'Baby Queen - Face Frame', 14353421343},
			{'Baby Queen - Strut', 14353425085},
			{'KATSEYE - Touch', 139021427684680},
			{'Secret Handshake Dance', 120642514156293},
			{'Godlike', 3823158750},
			{'Mae Stephens - Piano Hands', 16553249658},
			{'Alo Yoga Pose - Lotus Position', 12507097350},
			{'d4vd - Backflip', 15694504637},
			{'Bored', 5230661597},
			{'Cuco - Levitate', 15698511500},
			{'Hero Landing', 5104377791},
			{'Sleep', 4689362868},
			{'Shrug', 3576968026},
			{'Shy', 3576717965},
			{'Festive Dance', 15679955281},
			{'V Pose - Tommy Hilfiger', 10214418283},
			{'Olivia Rodrigo Head Bop', 15554010118},
			{'Elton John - Heart Shuffle', 17748346932},
			{'Bone Chillin Bop', 15123050663},
			{'Curtsy', 4646306583},
			{'Floss Dance', 5917570207},
			{'Hello', 3576686446},
			{'Victory Dance', 15506503658},
			{'Monkey', 3716636630},
			{'TWICE Feel Special', 14900153406},
			{'Point2', 3576823880},
			{'Quiet Waves', 7466046574},
			{'HIPMOTION - Amaarae', 16572756230},
			{'Frosty Flair - Tommy Hilfiger', 10214406616},
			{'Chappell Roan HOT TO GO!', 79312439851071},
			{'Stadium', 3360686498},
			{'Skibidi Toilet - Titan Speakerman Laser Spin', 103102322875221},
			{'Sad', 4849502101},
			{'Greatest', 3762654854},
			{'Sturdy Dance - Ice Spice', 17746270218},
			{'Elton John - Heart Skip', 11309263077},
			{'Paris Hilton - Iconic IT-Grrrl', 15392932768},
			{'Fashion Roadkill', 73683655527605},
			{'Nicki Minaj Starships', 15571540519},
			{'TWICE LIKEY', 14900151704},
			{'Nicki Minaj Boom Boom Boom', 15571538346},
			{'Sol de Janeiro - Samba', 16276506814},
			{'HUGO Lets Drive!', 17360720445},
			{'Paris Hilton - Sliving For The Groove', 15392927897},
			{'Tommy - Archer', 13823339506},
			{'Beauty Touchdown', 16303091119},
			{'Cower', 4940597758},
			{'Happy', 4849499887},
			{'Flex Walk', 15506506103},
			{'Team USA Breaking Emote', 18526338976},
			{'Zombie', 4212496830},
			{'Olivia Rodrigo Fall Back to Float', 15554016057},
			{'Stray Kids Walkin On Water', 100773414188482},
			{'Haha', 4102315500},
			{'Baby Queen - Air Guitar & Knee Slide', 14353417553},
			{'Dizzy', 3934986896},
			{'High Wave', 5915776835},
			{'Beckon', 5230615437},
			{'Show Dem Wrists - KSI', 7202898984},
			{'Jumping Wave', 4940602656},
			{'Baby Queen - Dramatic Bow', 14353419229},
			{'Fast Hands', 4272351660},
			{'Dolphin Dance', 5938365243},
			{'Wake Up Call - KSI', 7202900159},
			{'Jawny - Stomp', 16392120020},
			{'Elton John - Rock Out', 11753545334},
			{'Paris Hilton - Checking My Angles', 15392937495},
			{'Power Blast', 4849497510},
			{'Bodybuilder', 3994130516},
			{'Line Dance', 4049646104},
			{'Rock n Roll', 15506496093},
			{'Agree', 4849487550},
			{'Celebrate', 3994127840},
			{'Mini Kong', 17000058939},
			{'TMNT Dance', 18665886405},
			{'ALTÉGO - Couldn’t Care Less', 92859581691366},
			{'Rolling Stones Guitar Strum', 18148839527},
			{'Rock Out - Bebe Rexha', 18225077553},
			{'ericdoa - dance', 15698510244},
			{'Confused', 4940592718},
			{'Ay-Yo Dance Move - NCT 127', 12804173616},
			{'Rock On', 5915782672},
			{'Imagine Dragons - “Bones” Dance', 15689314578},
			{'Mae Stephens – Arm Wave', 16584496781},
			{'Uprise - Tommy Hilfiger', 10275057230},
			{'Sidekicks - George Ezra', 10370922566},
			{'Boxing Punch - KSI', 7202896732},
			{'Fashionable', 3576745472},
			{'Paris Hilton Sanasa', 16126526506},
			{'Baby Dance', 4272484885},
			{'Mean Girls Dance Break', 15963348695},
			{'Samba', 6869813008},
			{'NBA Monster Dunk', 117511481049460},
			{'Dancin Shoes - Twenty One Pilots', 7405123844},
			{'YUNGBLUD – HIGH KICK', 14022978026},
			{'Twirl', 3716633898},
			{'Elton John - Elevate', 11394056822},
			{'GloRilla - "Tomorrow" Dance', 15689315657},
			{'Side to Side', 3762641826},
			{'Wisp - air guitar', 17370797454},
			{'Kick It Dance Move - NCT 127', 12259888240},
			{'Flowing Breeze', 7466047578},
			{'The Zabb', 71389516735424},
			{'Old Town Road Dance - Lil Nas X (LNX)', 5938394742},
			{'TWICE I GOT YOU part 1', 16215060261},
			{'Disagree', 4849495710},
			{'Elton John - Still Standing', 11435177473},
			{'Break Dance', 5915773992},
			{'Wanna play?', 16646438742},
			{'T', 3576719440},
			{'TWICE I GOT YOU part 2', 16256253954},
			{'Cha Cha', 6865013133},
			{'Floor Rock Freeze - Tommy Hilfiger', 10214411646},
			{'High Hands', 9710994651},
			{'Daves Spin Move - Glass Animals', 16276501655},
			{'Jumping Cheer', 5895009708},
			{'Alo Yoga Pose - Warrior II', 12507106431},
			{'Alo Yoga Pose - Triangle', 12507120275},
			{'SpongeBob Imaginaaation 🌈', 18443268949},
			{'Olivia Rodrigo good 4 u', 15554013003},
			{'It Aint My Fault - Zara Larsson', 6797948622},
			{'Get Out', 3934984583},
			{'Super Charge', 10478368365},
			{'Fashion Klossette - Runway my way', 126683684984862},
			{'Cartwheel - George Ezra', 10370929905},
			{'Shuffle', 4391208058},
			{'Tree', 4049634387},
			{'Take Me Under - Zara Larsson', 6797938823},
			{'HOLIDAY Dance - Lil Nas X (LNX)', 5938396308},
			{'Hips Poppin - Zara Larsson', 6797919579},
			{'Robot', 3576721660},
			{'Dorky Dance', 4212499637},
			{'2 Baddies Dance Move - NCT 127', 12259890638},
			{'AOK - Tai Verdes', 7942960760},
			{'Tantrum', 5104374556},
			{'Y', 4391211308},
			{'Shrek Roar', 18524331128},
			{'Fishing', 3994129128},
			{'Rodeo Dance - Lil Nas X (LNX)', 5938397555},
			{'Tommy K-Pop Mic Drop', 14024722653},
			{'Fancy Feet', 3934988903},
			{'Lasso Turn - Tai Verdes', 7942972744},
			{'Panini Dance - Lil Nas X (LNX)', 5915781665},
			{'Sticker Dance Move - NCT 127', 12259885838},
			{'NBA WNBA Fadeaway', 18526373545},
			{'Around Town', 3576747102},
			{'Rock Guitar - Royal Blood', 6532155086},
			{'Mean Mug - Tommy Hilfiger', 10214415687},
			{'Saturday Dance - Twenty One Pilots', 7422833723},
			{'Swan Dance', 7466048475},
			{'On The Outside - Twenty One Pilots', 7422841700},
			{'Elton John - Cat Man', 11435175895},
			{'Jacks', 3570649048},
			{'Keeping Time', 4646306072},
			{'Elton John - Piano Jump', 11453096488},
			{'Air Dance', 4646302011},
			{'Rise Above - The Chainsmokers', 13071993910},
			{'Boom Boom Clap - George Ezra', 10370934040},
			{'Arm Twist', 9710992846},
			{'Top Rock', 3570535774},
			{'Air Guitar', 15506499986},
			{'Cobra Arms - Tai Verdes', 7942964447},
			{'Block Partier', 6865011755},
			{'Rock Star - Royal Blood', 6533100850},
			{'Louder', 3576751796},
			{'Drum Solo - Royal Blood', 6532844183},
			{'Sneaky', 3576754235},
			{'Idol', 4102317848},
			{'Swish', 3821527813},
			{'Drummer Moves - Twenty One Pilots', 7422838770},
			{'Up and Down - Twenty One Pilots', 7422843994},
			{'Chill Vibes - George Ezra', 10370918044},
			{'Drum Master - Royal Blood', 6531538868},
		}

did you use the specific way you have to do in order to get the proper id for the animations, or did you just get them from the link in the marketplace?

add while animTrack.Length == 0 do task.wait() end

I think animTrack.Length is the only way to check if a AnimationTrack is loaded

I used a roblox API with a discord bot to get all the anim ID’s, all of them are valid but don’t load.

The problem is, the emotes don’t load either way.