Tom_z
|
  |
| Joined: 13 Feb 2011 |
| Total Posts: 668 |
|
|
| 24 Jan 2017 10:19 AM |
I've completely forgotten what you are supposed to use instead of KeyDown(). I thought it was something like inputservice but I can't find anything like that on the wiki. Could someone let me know what you are supposed to use now? Thanks.
I used to think I was rich :( - R$0 |
|
|
| Report Abuse |
|
|
| |
|
Tom_z
|
  |
| Joined: 13 Feb 2011 |
| Total Posts: 668 |
|
|
| 24 Jan 2017 10:27 AM |
Ok cheers.
|| I used to think I was rich... :( || R$0 || |
|
|
| Report Abuse |
|
|
RogueMage
|
  |
| Joined: 28 Jan 2012 |
| Total Posts: 1235 |
|
|
| 24 Jan 2017 11:22 AM |
UserInputService.InputBegan:Connect(function(input) if input.UserInputType = Enum.UserInputType.Keyboard then local keyCode = input.KeyCode if keyCode == Enum.KeyCode.[UpperCaseLetter] then -- code end end end)
InputEnded is the same (basically lifting a key) |
|
|
| Report Abuse |
|
|