|
| 26 May 2014 06:10 PM |
local b1 = a.Button.MouseButton2Down:connect(function() Aim() end) local b2 = a.Button.MouseButton2Up:connect(function() UnAim() end)
Could someone please tell me how to change the mousebutton2's to connect with the key q? Thanks. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 26 May 2014 06:11 PM |
| KeyDown (check if key is "q") and KeyUp |
|
|
| Report Abuse |
|
|
|
| 26 May 2014 06:47 PM |
| It would be awesome if you rewrote it for me, i cant really understand what your saying :( |
|
|
| Report Abuse |
|
|
Zeloi
|
  |
| Joined: 27 Sep 2010 |
| Total Posts: 1143 |
|
|
| 26 May 2014 06:49 PM |
http://wiki.roblox.com/index.php?title=KeyDown_(Event) http://wiki.roblox.com/index.php?title=KeyUp |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 26 May 2014 06:49 PM |
Using the mouse object: http://wiki.roblox.com/index.php?title=KeyDown_(Event) http://wiki.roblox.com/index.php?title=KeyUp_(Event) |
|
|
| Report Abuse |
|
|