How to make make characters/npcs flexibly switch animations

I need to make an NPC have an Idle animation from the roblox catalog (which I also need help with), and then at cue switch to other catalog animations. How could I go about doing this?

1 Like

nye for character just locate da idle


and for npc just load a animation eh () try reading Bec’s reply

get the bundle animations

local Id = 667 -- this is old school anim bundle id
local BundleDetail = game:GetService("AssetService"):GetBundleDetailsAsync(Id)
for i, v in pairs(BundleDetail.Items) do
	local AnimationType = v.Name
	local AnimationId = "rbxassetid://"..v.Id 
	print(AnimationType..":",AnimationId) 
end