function items_py:holder/armor/d/times_appeared/count_shop_active
scoreboard players operation scaled_shoes times_appeared = min times_appeared
scoreboard players set #scaled_shoes shop 1
tag @s remove scaled_shoes

scoreboard players remove mcoins shop 3
