Stopping Animation Montage

I have a character with attack animations that works from an animation montage.
I have a beet problem with stopping these animations when the variable “isAttack” is false.

I need to rich this result:

but the character has this result:

As you can see, the first character ends his animations exactly when I set the variable “isAttack” false.
but the second character plays one animation (of 3) even if the “isAttack” false.
This is the second character AnimBP

Thanks for help! :slight_smile: