generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Bhop Scripting? Little Help?

Previous Thread :: Next Thread 
Zendone is not online. 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 is not online. Zendone
Joined: 09 Apr 2013
Total Posts: 987
01 May 2016 06:25 PM
b


gafsa
Report Abuse
Zendone is not online. Zendone
Joined: 09 Apr 2013
Total Posts: 987
01 May 2016 06:27 PM
b2 ;(


gafsa
Report Abuse
Deafgift100 is not online. Deafgift100
Joined: 09 May 2010
Total Posts: 3958
01 May 2016 06:28 PM
don't bump when it's already on the first page
Report Abuse
Zendone is not online. Zendone
Joined: 09 Apr 2013
Total Posts: 987
01 May 2016 06:28 PM
was impacient


gafsa
Report Abuse
scottmike0 is not online. scottmike0
Joined: 14 Sep 2008
Total Posts: 1073
01 May 2016 06:33 PM
dont use keydown, use userInputService
Report Abuse
scottmike0 is not online. scottmike0
Joined: 14 Sep 2008
Total Posts: 1073
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 is not online. Zendone
Joined: 09 Apr 2013
Total Posts: 987
01 May 2016 06:36 PM
is that it?


gafsa
Report Abuse
Zendone is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image