execute at @s if entity @e[type=#main:enemies,tag=enemy,tag=!sorcerer_rc_l_l_hit] run rotate @s facing entity @n[type=#main:enemies,tag=enemy,tag=!sorcerer_rc_l_l_hit] eyes
execute at @s if entity @e[type=#main:enemies,tag=enemy,tag=!sorcerer_rc_l_l_hit] on passengers at @s run rotate @s facing entity @n[type=#main:enemies,tag=enemy,tag=!sorcerer_rc_l_l_hit] eyes

execute at @s unless entity @e[type=#main:enemies,tag=enemy,tag=!sorcerer_rc_l_l_hit] run rotate @s facing entity @p eyes
execute at @s unless entity @e[type=#main:enemies,tag=enemy,tag=!sorcerer_rc_l_l_hit] on passengers at @s run rotate @s facing entity @p eyes

scoreboard players add @s sorcerer 1
execute if score @s sorcerer matches 10.. on passengers run kill @s
execute if score @s sorcerer matches 10.. run kill @s
playsound atmos:shock_1 master @a ~ ~ ~ 0.5 2
playsound item.crossbow.shoot master @a ~ ~ ~ 10 1