Infinite loop detected when spamming keys

I’m new to this engine and I’m trying to make this leaning mechanic, similar to r6 siege where you click q and e to lean left and right. It works well until spam q and e really fast and gives a infinite loop error and just crashes, it doesnt do this if you do it slowly. pls help.
Heres a video of the blueprint and the problem

ok managed to fix it, accidently had both branches at the end connect to the same timeline but one was was supposed to be on the other