execute as @s[scores={wither2_attacks=..1}] run execute as @s[scores={wither2_attack=..23}] run execute as @s[scores={wither2_attack2=..8}] run execute as @s[scores={wither2_attack3=..-40}] run execute as @s[scores={wither2_move_left=..5}] run execute as @s[scores={wither2_shoot=..106}] run function wither/attack1



execute as @s[scores={wither2_attacks=2}] run execute as @s[scores={wither2_attack2=..8}] run execute as @s[scores={wither2_attack=..23}] run execute as @s[scores={wither2_attack3=..-40}] run execute as @s[scores={wither2_move_left=..5}] run execute as @s[scores={wither2_shoot=..106}] run function wither/attack2



execute as @s[scores={wither2_attacks=3}] run execute as @s[scores={wither2_attack2=..8}] run execute as @s[scores={wither2_attack=..23}] run execute as @s[scores={wither2_attack3=..-40}] run execute as @s[scores={wither2_move_left=..5}] run execute as @s[scores={wither2_shoot=..106}] run execute at @p[m=!1,r=12] run function wither/attack3



 #move_left


execute as @s[scores={wither2_attacks=4}] run execute as @s[scores={wither2_attack2=..8}] run execute as @s[scores={wither2_attack=..23}] run execute as @s[scores={wither2_attack3=..-40}] run execute as @s[scores={wither2_move_left=..5}] run execute as @s[scores={wither2_shoot=..106}] run function wither/move_left


  #shoot


execute as @s[scores={wither2_attacks=5}] run execute as @s[scores={wither2_attack2=..8}] run execute as @s[scores={wither2_attack=..23}] run execute as @s[scores={wither2_attack3=..-40}] run execute as @s[scores={wither2_move_left=..5}] run execute as @s[scores={wither2_shoot=..106}] run function wither/shoot
