execute at @a if score .friendly_reminder artifact matches 1.. unless entity @e[type=item_display,tag=friendly_reminder] run summon item_display ~ ~ ~ {Tags:["friendly_reminder"],teleport_duration:1,item:{id:"coal","components":{"item_model":"minecraft:artifacts/friendly_reminder"}},transformation:{left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],translation:[0f,0f,0f],scale:[0.5f,0.5f,0.5f]}}

execute as @a anchored eyes at @s positioned ^ ^ ^ rotated ~ ~ as @e[type=item_display,tag=friendly_reminder] run teleport @s ^-1 ^1 ^-0.5
execute at @a as @e[type=item_display,tag=friendly_reminder] rotated ~ 0 if entity @e[type=#main:enemies,tag=enemy,tag=friendly_reminder_target] run rotate @s facing entity @n[type=#main:enemies,tag=enemy,tag=friendly_reminder_target] eyes

#shoot
execute if score .friendly_reminder_t artifact matches 2 run function main:mechanics/artifacts/id/purple/id21/shoot
execute if score .friendly_reminder_t artifact matches 1.. run scoreboard players remove .friendly_reminder_t artifact 1

schedule function main:mechanics/artifacts/id/purple/id21/tick 1t