Zendone
|
  |
| Joined: 09 Apr 2013 |
| Total Posts: 987 |
|
|
| 01 May 2016 06:21 PM |
player = game.Players.LocalPlayer mouse = player:GetMouse() jumping = false moving = false bhopping = false i = 0
print( "Bhop Script By LittleBigBug10 Loading" ) function oKD(key) key = key:lower() if key == "space" then jumping = true end end
function oKU(key) key = key:lower() if key == "space" then jumping = false end end
mouse.KeyUp:connect(oKU) mouse.KeyDown:connect(oKD)
player.Character.Humanoid.Running:connect(function(speed) if speed > 0 then moving = true end end)
while wait(1) do if jumping and moving then bhopping = true end end
while bhopping == true do wait(1) i = i + 1 if i > 0 then if not i > 49 then -- Make sure speed player.Character.Humanoid.WalkSpeed = 16 + i -- lol 49 + 16 = 65 so it won't go over end end end
if not bhopping then i = 0 player.Character.Humanoid.WalkSpeed = 16 + i end there
gafsa |
|
|
| Report Abuse |
|
|
Zendone
|
  |
| Joined: 09 Apr 2013 |
| Total Posts: 987 |
|
| |
|
Zendone
|
  |
| Joined: 09 Apr 2013 |
| Total Posts: 987 |
|
| |
|
|
| 01 May 2016 06:28 PM |
| don't bump when it's already on the first page |
|
|
| Report Abuse |
|
|
Zendone
|
  |
| Joined: 09 Apr 2013 |
| Total Posts: 987 |
|
| |
|
|
| 01 May 2016 06:33 PM |
| dont use keydown, use userInputService |
|
|
| Report Abuse |
|
|
|
| 01 May 2016 06:34 PM |
mouse.KeyUp:connect(oKU) mouse.KeyDown:connect(oKD)
mouse does not have a keydown or keyup function. as well.
|
|
|
| Report Abuse |
|
|
Zendone
|
  |
| Joined: 09 Apr 2013 |
| Total Posts: 987 |
|
| |
|
Zendone
|
  |
| Joined: 09 Apr 2013 |
| Total Posts: 987 |
|
|
| 01 May 2016 06:37 PM |
well what can i change to make it work?
gafsa |
|
|
| Report Abuse |
|
|