Editor keeps crashing after rapidly pressing key

I’m using a bool passed from the character BP to the anim BP to start playing an attack animation. It then uses the remaining time to know when to leave the animation.

There’s an anim notify at the end of it that I use to tell the original bool in the character BP to be set to False.

What happens is: I can attack once, then the animation hangs for a second on the end of the animation and the whole editor crashes.

So is there something wrong with what I did here?

Before, I was just putting a delay after setting the bool to true and then setting it to false, It seemed less reliable but I was able to get more key-presses in before it crashed- it was still crashing with that, just not as fast and it’s definitely something to do with this key press because it only crashes after pressing it at least once.