|
| 05 Jul 2015 08:14 AM |
Press "z" to jump.
plr = game.Players.LocalPlayer mouse = plr:GetMouse()
mouse.KeyDown:connect(function(key) if key == "z" then plr.Character.Humanoid.Jump = true wait(.1) plr.Character.Humanoid.Sit = true wait(.1) plr.Character.Humanoid.Jump = true end end) |
|
|
| Report Abuse |
|
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 05 Jul 2015 08:17 AM |
*tut tut* Not using UIS...
Play now! ~ http://www.roblox.com/games/refer?PlaceId=2047642 |
|
|
| Report Abuse |
|
|
| |
|
gergy008
|
  |
| Joined: 16 Mar 2008 |
| Total Posts: 7039 |
|
|
| 05 Jul 2015 08:26 AM |
UserInputService.
It's the newer, more efficient service to get keyboard & mouse/touch/etc. commands from the users client.
Play now! ~ http://www.roblox.com/games/refer?PlaceId=2047642 |
|
|
| Report Abuse |
|
|