execute as @s[nbt={Item:{tag:{kyugotarmorbonus:1b}}}] run tag @s add NoGo
execute as @s[nbt={Item:{tag:{kyugotarmorbonus:1b}}}] run execute at @e[name=CadeyrnCrafting,sort=nearest,limit=1] run tellraw @a[distance=..10] ["",{"text":"Your boots have already been upgraded with knockback resistance!","color":"yellow","italic":true}]


execute at @s[tag=!NoGo] run scoreboard players set @s KyuDummy 1699
execute at @s[tag=!NoGo] run function zzzzdonotuse:modifyarmor/addknockbackresist
execute at @s[tag=!NoGo] run data modify entity @s Item.tag merge value {kyugotarmorbonus:1b}
execute at @s[tag=!NoGo] run execute at @e[name=CadeyrnCrafting,sort=nearest,limit=1] run tellraw @a[distance=..10] ["",{"text":"Your boots have been upgraded with knockback resistance!","color":"aqua","italic":true}]
execute at @s[tag=!NoGo] run kill @e[distance=..5,nbt={Item:{id:"minecraft:anvil",Count:1b}},tag=!SaveMe,limit=1]