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 » Scripting Helpers
Home Search
 

Re: Double jump script Help!

Previous Thread :: Next Thread 
JOHN111b is not online. JOHN111b
Joined: 04 Jun 2008
Total Posts: 188
10 Aug 2012 12:44 AM
I really want a double jump script NOT A TOOL but I don't know how to script but if you have any idea's on how, or too make me one
Report Abuse
xXTheRobotXxAlt is not online. xXTheRobotXxAlt
Joined: 06 Jul 2012
Total Posts: 548
10 Aug 2012 12:45 AM
It is simple, read the wiki..
Report Abuse
xXTheRobotXxAlt is not online. xXTheRobotXxAlt
Joined: 06 Jul 2012
Total Posts: 548
10 Aug 2012 01:08 AM
function onTouched(hit)
debounce = false
hit.Parent.Humanoid.Jump = true
hit.Parent.Humanoid.Jump = true
end

script.Parent.Touched:connect(onTouched)

This will make it so when you touch a brick, you jump twice.
Report Abuse
doombringer42 is not online. doombringer42
Joined: 13 Nov 2007
Total Posts: 5445
10 Aug 2012 01:19 AM
...... no it doesn't. first of all the 'hit' might not necessarily be from a character. it could be flying debris. in this case the script errors and disconnects.

in addition, setting 'jump' to true does make the humanoid jump, but setting it to the same value again doesn't do anything; there's no perceivable change.

even if you told the humanoid to jump twice it wouldn't work. the humanoid can't jump when it's already in the air.

and finally, your debounce was applied improperly and doesn't do anything.
Report Abuse
xXTheRobotXxAlt is not online. xXTheRobotXxAlt
Joined: 06 Jul 2012
Total Posts: 548
10 Aug 2012 01:23 AM
It worked when i tested it.
Report Abuse
doombringer42 is not online. doombringer42
Joined: 13 Nov 2007
Total Posts: 5445
10 Aug 2012 01:25 AM
really? i tested it myself.
Report Abuse
xXTheRobotXxAlt is not online. xXTheRobotXxAlt
Joined: 06 Jul 2012
Total Posts: 548
10 Aug 2012 01:28 AM
Well it didnt jump in the air twice

But debounce worked.
Report Abuse
bob371 is not online. bob371
Joined: 15 Aug 2008
Total Posts: 1834
10 Aug 2012 02:25 AM
You could always use a local script in the backpack that detects key movement, and a well timed torso velocity to give a double jump effect.
Report Abuse
bob371 is not online. bob371
Joined: 15 Aug 2008
Total Posts: 1834
10 Aug 2012 02:27 AM
I could script it tomorrow if you could wait a few hours.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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