Problem with action actuators and python

Hi i am currently trying to make an fps in blender but i have run into a problem, I used python to activate an action actuator that zoomed in on my gun sights when the right mouse button is pressed and another to reverse this when the button is released. the problem is that it only works once in the game engine and after that one time all i get is weird glitching when i try and aim, can anyone help please?, i tried everything i could think of.

the .blend is below:

Player_Level_Base_M4A1.blend (835 KB)