execute as 26d6176b-0201-4c9e-a80b-d46300ae7d9a unless entity @s[tag=click_swordsmith_1] at @s run tellraw @a[distance=..10] [{"text":"<"},{"selector":"@s"},{"text":"> "},{"text":"You know, I've been hearing all the commotion outside, thus I have prepared some weapons for you. Just bring me a brand-new diamond sword and an ","color":"gray"},{"text":"Upgrade ","color":"gold"},{"text":"from the ","color":"gray"},{"text":"Elder.","color":"#240d2e"}]
execute as 26d6176b-0201-4c9e-a80b-d46300ae7d9a unless entity @s[tag=click_swordsmith_1] run tag @s add click_swordsmith_1
advancement revoke @s only projectswords:swordsmith_trade