#data modify entity @s Item set value {id:"minecraft:paper",Count:1b,tag:{}}

data modify entity @s Item set value {id:"minecraft:paper",Count:1b,tag:{Enchantments:[{id:"minecraft:lure",lvl:9s}],HideFlags:1,display:{Name:"{\"text\":\"Torn Spell Page: Invisibility \"}",Lore:["\"Unlocks a spell when held.\""]}}}


execute at @s run execute at @e[name=CadeyrnCrafting,sort=nearest,limit=1] run tellraw @a[distance=..4] ["",{"text":"Item crafted: Invisibility.","color":"#8B59FF","italic":true}]

execute at @s run kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:enchanting_table",Count:1b}}]
execute at @s run kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:brewing_stand",Count:1b}}]
execute at @s run kill @e[limit=6,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:golden_carrot",Count:1b}}]
