execute rotated ~ 0 positioned ^-2^^7 run damage @e[r=2,type=!item] 50
execute rotated ~ 0 positioned ^-1^^7 run damage @e[r=2,type=!item] 50
execute rotated ~ 0 positioned ^^^7 run damage @e[r=2,type=!item] 50
execute rotated ~ 0 positioned ^1^^7 run damage @e[r=2,type=!item] 50
execute rotated ~ 0 positioned ^2^^7 run damage @e[r=2,type=!item] 50