Voreli
|
  |
| Joined: 13 Apr 2010 |
| Total Posts: 194 |
|
|
| 27 Nov 2015 08:44 PM |
Is there a way to make KeyDown work while typing into chat? Like:
mouse.KeyDown:connect(function(key)
if key=='a' then print'yep' end end)
When you haven't pressed '/',
>yep
When you have pressed '/',
---------------------------
Anyone know a way around this? |
|
|
| Report Abuse |
|
|
|
| 27 Nov 2015 08:46 PM |
| Nope. UserInputService works this way though. But you shouldn't be using KeyDown anyways, it is deprecated. |
|
|
| Report Abuse |
|
|
Fribet
|
  |
| Joined: 08 Feb 2014 |
| Total Posts: 700 |
|
| |
|
Voreli
|
  |
| Joined: 13 Apr 2010 |
| Total Posts: 194 |
|
|
| 27 Nov 2015 08:55 PM |
| Yep, just discovered this. Thank you, guys! |
|
|
| Report Abuse |
|
|
Voreli
|
  |
| Joined: 13 Apr 2010 |
| Total Posts: 194 |
|
|
| 27 Nov 2015 09:15 PM |
| One quick question, is there a way to make it use KeyUp? When I try to use this, it presses the key several times instead of just once. |
|
|
| Report Abuse |
|
|