How to replace player emotes by script?

It’s fairly simple to remove an emote from the Emote Wheel.
But how do you replace the now empty slot with another emote?

for _, bEmote in bannedEmoteTable do
	for i, Emote in equippedEmotes do
		if Emote.Name == bEmote then
			humanoidDescription:RemoveEmote(bEmote)
			print("Removed banned emote:", bEmote)
			
			humanoidDescription:AddEmote("Stadium", 3360686498)
		end
	end
end

image

This still leaves the slots blank. Anyone knows?

for _, bEmote in pairs(bannedEmoteTable) do
    for _, Emote in pairs(equippedEmotes) do
        if Emote.Name == bEmote then
            humanoidDescription:RemoveEmote(bEmote)
            print("Removed banned emote:", bEmote)

            -- Create the new emote (assuming "Stadium" is the name, and 3360686498 is the AnimationId)
            local newEmote = Instance.new("Animation")
            newEmote.Name = "Stadium"
            newEmote.AnimationId = "rbxassetid://3360686498"
            
            -- Add the new emote to the humanoid description
            humanoidDescription:AddEmote(newEmote)
            print("Added new emote: Stadium")
        end
    end
end

I haven’t tested this but I pretty sure this is how u do it.

I was returned two things:

Argument 2 missing or nil
&
argument #1 expects a string, but Instance was passed

Both for this line:

            humanoidDescription:AddEmote(newEmote)

Then changed it to the following below and nothing new was added to the emote wheel

			humanoidDescription:AddEmote(newEmote.Name, 3360686498)