execute if score .slime_queen hud matches 1.. run item replace entity @a armor.head with leather_helmet[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={slot: "head", equip_sound: "item.armor.equip_leather", camera_overlay: "minecraft:custom/overlay/boss_killed/boss_slayed_1"}]
execute if score .penguineer hud matches 1.. run item replace entity @a armor.head with leather_helmet[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={slot: "head", equip_sound: "item.armor.equip_leather", camera_overlay: "minecraft:custom/overlay/boss_killed/boss_slayed_2"}]
execute if score .last_gladiator hud matches 1.. run item replace entity @a armor.head with leather_helmet[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={slot: "head", equip_sound: "item.armor.equip_leather", camera_overlay: "minecraft:custom/overlay/boss_killed/boss_slayed_3"}]
execute if score .forest_witch hud matches 1.. run item replace entity @a armor.head with leather_helmet[enchantments={levels:{"minecraft:binding_curse":1},show_in_tooltip:false},equippable={slot: "head", equip_sound: "item.armor.equip_leather", camera_overlay: "minecraft:custom/overlay/boss_killed/boss_slayed_4"}]

execute if score .slime_queen hud matches 1.. run scoreboard players remove .slime_queen hud 1
execute if score .penguineer hud matches 1.. run scoreboard players remove .penguineer hud 1
execute if score .last_gladiator hud matches 1.. run scoreboard players remove .last_gladiator hud 1
execute if score .forest_witch hud matches 1.. run scoreboard players remove .forest_witch hud 1
execute if score .boss_slayed hud matches 1.. run scoreboard players remove .boss_slayed hud 1

execute unless score .slime_queen hud matches 1.. unless score .penguineer hud matches 1.. unless score .last_gladiator hud matches 1.. unless score .forest_witch hud matches 1.. run clear @a leather_helmet
