Battle Sprite Attacks after pressing they key number of time.

my sprite wont attack , i have to press the button many times.