execute if entity @s[tag=6] as @e[tag=holder,distance=0] run function items_py:holder/weapon/a/holy_sword
execute if entity @s[tag=5] as @e[tag=holder,distance=0] run function items_py:holder/weapon/a/ice_sword
execute if entity @s[tag=4] as @e[tag=holder,distance=0] run function items_py:holder/weapon/a/katana
execute if entity @s[tag=3] as @e[tag=holder,distance=0] run function items_py:holder/weapon/a/emerald_sword
execute if entity @s[tag=2] as @e[tag=holder,distance=0] run function items_py:holder/weapon/a/crystal_sword
execute if entity @s[tag=1] as @e[tag=holder,distance=0] run function items_py:holder/weapon/a/dark_mace
