@asdf123(View Post) Here are the key codes in a usable table: http://pastebin.com/dJ9eZGRU if you copy this table to your script, you can just use if event.key == Key["backspace"] then do stuff end
That's a fancy table and all, but hardly any of those keys match what I get. The best way to see the values for your keyboard (which may be different) is to add a tpt.drawtext(200,200,nkey) in the keypress hook.