KazzzMann
|
  |
| Joined: 23 Mar 2009 |
| Total Posts: 619 |
|
|
| 15 Feb 2013 08:59 PM |
| I'm attempting to make tools that usekeystrokes like hit "F" to lunge, etc. All help appretiated :) |
|
|
| Report Abuse |
|
|
KazzzMann
|
  |
| Joined: 23 Mar 2009 |
| Total Posts: 619 |
|
|
| 15 Feb 2013 09:02 PM |
| By command I mean function btw. |
|
|
| Report Abuse |
|
|
crouton04
|
  |
| Joined: 07 Jul 2010 |
| Total Posts: 4459 |
|
|
| 15 Feb 2013 09:02 PM |
Put this in a localscript in a tool.
plr = game.Players.LocalPlayer
script.Parent.Equipped:connect(function(mouse) mouse.KeyDown:connect(function(key) if key:lower() == "f" then --lungestuff elseif key:lower() == "e" then --etcstuff end end) end) |
|
|
| Report Abuse |
|
|
KazzzMann
|
  |
| Joined: 23 Mar 2009 |
| Total Posts: 619 |
|
| |
|