it will not work only if you have another event in your code that sets animation 1 or 2 in other conditions.
so the system checks every tick the code and cancels the above that i told you .
if "right" is down play animation 1
if "left" is down play animation 2
so every time you press right and score is larger than 5 instead of animation 2 it will play animation 1