|
| 17 Oct 2013 08:06 PM |
For the statement; if (Key == "x") then
What do I replace 'x' with so that it recognizes the Left Shift key being pressed? |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2013 08:09 PM |
Key:byte()==48
I think, it's been a while. But I don't think left/right have separate bytes. |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2013 08:10 PM |
| i believe you would need an advanced keyboard for that one. see the sign under the shift kep. the arrow. that may be the key you need to type in there . |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2013 08:11 PM |
oh. well thats good to know
blah...
wait repeat untill ROBLOX.FloodCheck.TimeExceed = false Post() |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Oct 2013 08:27 PM |
thats wrong. left and right do have seperate byte codes,
put a local script into StarterGui with this code, then go into test mode and press random keys you want to get the code for
--------------------------------------------------------------- player = game.Players.LocalPlayer mouse = player:GetMouse()
mouse.KeyDown:connect(function(key) print(key, string.byte(key)) end) |
|
|
| Report Abuse |
|
|