Freezing animation while pressing two buttons

Hey, the problem is that the animation keeps changing between the 2 animations since your events trigger on every frame, so the animation freezes on the first frame.

Here’s a similar post with the same issue, and you can implement MrMen’s solution.