function items_py:holder/shard/a/times_appeared/count_shop_active
scoreboard players operation big_health_shard times_appeared = min times_appeared
scoreboard players set #big_health_shard shop 1
tag @s remove big_health_shard

scoreboard players remove mcoins shop 9
