KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 04 Jan 2014 03:48 PM |
player = game.Players.LocalPlayer mouse = player:GetMouse()
mouse.KeyDown:connect(function(key) if key = "Up" then --code elseif key == "Down" then --code elseif key == "LeftSide" --cde elseif key == "RightSide" --code end end)
What I need to know it how to make it do the up/down/left/right keys, and where to find it on other keyslike...... tab or enter or space |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
| |
|
|
| 04 Jan 2014 06:19 PM |
I wouldve helped if you didnt spam other threads. have fun with your broken script
[2WC / ND] |
|
|
| Report Abuse |
|
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
|
| 04 Jan 2014 06:21 PM |
http://wiki.roblox.com/index.php/File:Ascii_Table.png
if string.byte(key) == NUMBER FROM URL I POSTED |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
| |
|
|
| 04 Jan 2014 06:25 PM |
RoflHelped enough to the point where you should be able to solve it
[2WC / ND] |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 04 Jan 2014 06:26 PM |
| that site shows me nothing. |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 04 Jan 2014 06:27 PM |
| It has a bunch of randomness, no up down left or right. -_- |
|
|
| Report Abuse |
|
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
|
| 04 Jan 2014 06:28 PM |
jeeeez. Right, easy peasy way.
mouse.KeyDown:connect(function(key) print(key) end)
Now, press the buttons you want to know the strings for, and they'll show up in output! |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
| |
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 04 Jan 2014 06:33 PM |
its some sort of symbols. should I do
if key == "weird symbol I saw that doesent work here" then |
|
|
| Report Abuse |
|
|
|
| 04 Jan 2014 06:34 PM |
stop being a troll. people have told you how to do it.
#nerdsunited |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 04 Jan 2014 06:38 PM |
| It has weird symols, u try it, its like a triangle for up -_- |
|
|
| Report Abuse |
|
|
RoflBread
|
  |
| Joined: 18 Jun 2009 |
| Total Posts: 3803 |
|
|
| 04 Jan 2014 06:44 PM |
Then use that chart i sent you, or
print(string.byte(key))
then you can do
if string.byte(key) == 129393 then print("ty for telling me what to doooooo") end |
|
|
| Report Abuse |
|
|
KEVEKEV77
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 6961 |
|
|
| 04 Jan 2014 09:33 PM |
| the symbols... work.... :O |
|
|
| Report Abuse |
|
|