|
| 26 Aug 2015 02:59 PM |
http://wiki.roblox.com/index.php?title=KeyDown
This wiki page says that KeyDown is deprecated, but it doesn't link to the new replacement event.
Is there a new event for this? I can't find it on the wiki.
|
|
|
| Report Abuse |
|
|
Hvxbyte
|
  |
| Joined: 19 Aug 2015 |
| Total Posts: 410 |
|
| |
|
Hvxbyte
|
  |
| Joined: 19 Aug 2015 |
| Total Posts: 410 |
|
|
| 26 Aug 2015 03:03 PM |
local userinputservice = game:GetService("UserInputService")
userinputservice.InputBegan:connect(function(input, event) if not event then if input.KeyCode == Enum.KeyCode.E then print("E was pressed!") end end end) |
|
|
| Report Abuse |
|
|
| |
|