execute if entity @s[tag=lightsaber] run function items_py:mshop/buy/weapon/all/lightsaber
execute if entity @s[tag=long_sword] run function items_py:mshop/buy/weapon/all/long_sword
execute if entity @s[tag=lightning_hammer] run function items_py:mshop/buy/weapon/all/lightning_hammer
execute if entity @s[tag=coin_sword] run function items_py:mshop/buy/weapon/all/coin_sword
execute if entity @s[tag=doubble_bladed_glaive] run function items_py:mshop/buy/weapon/all/doubble_bladed_glaive
tag @s remove b