tag @s add sword_of_fathoms_off
execute as @e[tag=hexblade] if score @s hexblade = @e[tag=sword_of_fathoms_off,limit=1] hexblade run function items:weapon/sword_of_fathoms/remove_hex
tag @s remove sword_of_fathoms_off
