execute as @e[type=block_display,tag=id1_gunner_q_projectile,scores={gunner=1..}] run scoreboard players remove @s gunner 1

execute unless entity @e[type=block_display,tag=id1_gunner_q_projectile] run kill @e[type=marker,tag=gunner_q]
execute unless entity @e[type=block_display,tag=id1_gunner_q_projectile] run kill @e[type=marker,tag=gunner_marker]

execute at @s as @e[type=marker,tag=gunner_marker_aim] run tp @s ~ ~ ~ facing entity @n[type=block_display,tag=id1_gunner_q_projectile] eyes
execute at @s as @e[type=marker,tag=gunner_marker] run tp @s ~ ~ ~

execute as @e[type=marker,tag=gunner_marker] at @s anchored eyes rotated as @e[type=marker,tag=gunner_marker_aim] positioned ^ ^ ^5 rotated as @s positioned ^ ^ ^10 facing entity @s eyes facing ^ ^ ^-1 positioned as @s run rotate @s ~ ~