advancement revoke @s only minecraft:suhc/placebunhead
#execute as @s[tag=!PlacedSoulLantern] run tellraw @a[tag=K] ["",{"selector":"@s","color":"white"},{"text":" has made the advancement ","color":"white"},{"text":"[","color":"#9B07DB"},{"text":"Skill Issue","color":"#C505FF","hoverEvent":{"action":"show_text","value":{"text":"","extra":[{"text":"Skill Issue\n","color":"#C505FF"},{"text":"You placed down your Soul Lantern...Really?","color":"#3EC4E6"}]}}},{"text":"]","color":"#9B07DB"},{"text":"."}]
#tag @s add PlacedSoulLantern
tellraw @s ["",{"text":"As you place your Bun Head, it disappears back into an egg.","color":"dark_aqua","italic":true}]
execute at @s positioned ~ ~1.5 ~ run execute as @p run loot spawn ^ ^.2 ^1 loot minecraft:customitems/bunegg2



execute at @s positioned ~ ~1.5 ~ run execute positioned ^ ^ ^2 run fill ~-3 ~-3 ~-3 ~3 ~3 ~3 air replace player_head