Well .. I don't really know what you are talking about.. but I can writte if(key_o){beep(); you.HEALTH -= 5;} And it will still fail -- but thanks for you post..