AI Dash Attack (Montage Sections)

Say I have an AI, when it finds the player, I want it to execute an animation to attack the player (the animation looks like a dash that finishes with an attack), the player is still a bit far from the AI, my issue is what is the logic behind looping a certain part of the animation until it reaches the player, and then execute the end of the animation itself? I’ve divided the animation into 3 parts: Start, Loop and End. I’d also want the Loop section to loop slower than usual (it’s small so I don’t want the character looking like they have a seizure), how would I set this up via BP?