execute at @s run data modify entity @s Item.tag merge value {kyusuperbootsmodule:1b}
execute at @s run data modify entity @s Item.tag merge value {kyulavaboots:1b}
data modify entity @s Item.tag.display.Lore append value '{"text":"Trailblazer ","color":"#8B59FF"}'
data modify entity @s[nbt=!{Item:{tag:{Enchantments:[{lvl:3s,id:"minecraft:depth_strider"}]}}}] Item.tag.Enchantments append value {id:"minecraft:depth_strider",lvl:3s}
data modify entity @s[nbt=!{Item:{tag:{Enchantments:[{lvl:2s,id:"minecraft:frost_walker"}]}}}] Item.tag.Enchantments append value {id:"minecraft:frost_walker",lvl:2s}
data modify entity @s[nbt=!{Item:{tag:{Enchantments:[{lvl:3s,id:"minecraft:soul_speed"}]}}}] Item.tag.Enchantments append value {id:"minecraft:soul_speed",lvl:3s}
data modify entity @s Item.tag.AttributeModifiers append value {AttributeName:"generic.movement_speed",Name:"generic.movement_speed",Amount:.1,Slot:"feet",Operation:1,UUID:[I;6969,6969,6968,9199]}



execute at @s run execute at @e[name=CadeyrnCrafting,sort=nearest,limit=1] run tellraw @a[distance=..4] ["",{"text":"Your boots now have the 'Trailblazer ' module!","color":"#8B59FF","italic":true}]

kill @e[limit=1,distance=..5,type=item,nbt={Item:{tag:{kyulavaboots:1b}}},nbt=!{Item:{tag:{kyusuperbootsmodule:1b}}}]
kill @e[distance=..5,type=item,tag=!SaveMe,tag=SoulSItem,limit=1]
kill @e[distance=..5,type=item,tag=!SaveMe,tag=DepthSItem,limit=1]
kill @e[distance=..5,type=item,tag=!SaveMe,tag=SpeedPoot,limit=1]
kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:ice",Count:1b}}]
kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:packed_ice",Count:1b}}]
kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:blue_ice",Count:1b}}]
kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:netherite_scrap",Count:1b}}]