A Key Event

A Key Event is not working right please help make it work right please fix it now thank you