Seeumliam
|
  |
| Joined: 06 May 2013 |
| Total Posts: 5662 |
|
|
| 28 Apr 2014 06:56 PM |
What is all the buttons on the keyboard? Like "D" how would I put that into the script.Parent.KeyboardButtonDDown:connect() or something? |
|
|
| Report Abuse |
|
|
|
| 28 Apr 2014 06:58 PM |
Mouse=game.Players.LocalPlayer:GetMouse()
Mouse.KeyDown:connect(function(key) if key=='q' then print(key) end end) |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 28 Apr 2014 06:59 PM |
mouse = game.Players.LocalPlayer:GetMouse()
mouse.KeyDown:connect(function(key) if ((key:lower()) == "d") then --Do something end end)
~ http://wiki.roblox.com/index.php?title=KeyDown ~
|
|
|
| Report Abuse |
|
|