How to allow AI to chase and attack the player at the same time?

I have a behavior tree where in one of the sequences, the task BT_ChasePlayer is played, where the AI finds and chases the player, and then the task BT_KillPlayer is played, where it plays an animation montage. I have two questions:

  1. How do you allow the AI to play the attack anim montage and run towards the player simultaneously if the player runs away? (I have a blend space setup so it will be able to attack with his upper body and move with his legs)
  2. Also, how do you allow the AI to only play the attack animation montage once? The Player In Range sequence plays constantly when the player is spotted, and the attack animation plays from the start repeatedly without waiting for the animation to finish playing, so the AI is stuck standing still. I currently am using a Wait task, but I was wondering if there’s a better way to do it, the other tasks like “BT_ChasePlayer” would not be able to play during the wait as well.

The relevant sequence “Player In Range”:

Task BT_ChasePlayer:

Task BT_KillPlayer: