76km
|
  |
| Joined: 14 Aug 2015 |
| Total Posts: 5455 |
|
|
| 13 Dec 2015 09:01 PM |
So i got the "space" working as a KeyCode
I want to do an else if just for lets say z
It won't do it. |
|
|
| Report Abuse |
|
|
|
| 13 Dec 2015 09:03 PM |
| Local u = game:GetService("UserInputService") u.InputBegan:connect(function(input, gPE) if not gPE then if input.KeyCode = Enum.KeyCode.Z then -- stuff end end end) |
|
|
| Report Abuse |
|
|
JDLENL
|
  |
| Joined: 23 Dec 2009 |
| Total Posts: 1109 |
|
|
| 13 Dec 2015 09:10 PM |
gPE being "Game Processed Event." http://wiki.roblox.com/index.php?title=API:Class/UserInputService |
|
|
| Report Abuse |
|
|