|
| 12 Apr 2013 03:10 PM |
Just a simple question.
For example, if I pressed "p", how would I let Lua know? |
|
|
| Report Abuse |
|
|
ForceSky
|
  |
| Joined: 30 Jul 2012 |
| Total Posts: 2379 |
|
|
| 12 Apr 2013 03:16 PM |
| KeyDown. I'm now sure how to use it. Perhaps it is an event of Player and the argument for its function is the letter pressed. |
|
|
| Report Abuse |
|
|
|
| 12 Apr 2013 03:17 PM |
function datTroll(key) if key == "p" then --stuff here plox end end
mouse.KeyDown:connect(datTroll) |
|
|
| Report Abuse |
|
|