|
| 21 Feb 2015 05:45 PM |
| How do I do something where if you press arrowup on your keyboard a script detects that. |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2015 05:49 PM |
| Also, what is the name of the arrow up key on your keyboard if you want to do like keydown? |
|
|
| Report Abuse |
|
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 21 Feb 2015 06:18 PM |
You can check all keys by doing:
mouse.KeyDown:connect(function(key) key = key:byte() print(key) end)
Then just press the key you want to check and look at output
Hey, check this place out! http://www.roblox.com/Maze-Escape-Deep-Alpha-place?id=194858740 |
|
|
| Report Abuse |
|
|
|
| 21 Feb 2015 06:19 PM |
| By the way, the key number code for the up arrow is 17. |
|
|
| Report Abuse |
|
|