Bruno need help on vertical shooter

i did it and copied your script but when i pressed the right key he would go left. He would also go left when i pressed the left key, what is wrong, the action script looked ok to me but it isnt working.