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()

Previous Thread :: Next Thread 
18lpickett is not online. 18lpickett
Joined: 15 Jul 2012
Total Posts: 3121
08 Aug 2014 05:52 PM
For some reason this double jump script stopped working.

No output error

in starter gui with creative set to false

Here it is

repeat wait() until Game:GetService("Players")
local Player = Game.Players.LocalPlayer

repeat wait() until Player

local FirstJump = false
local MidJump = false
local Mouse = Player:GetMouse()
TING = false
function onKeyDown(key)
if string.byte(key) == 32 and FirstJump == true and not TING and (MidJump == false or script.Creative.Value == true) then
TING = true
MidJump = true
Player.Character.Torso.Velocity = Vector3.new(0,50,0)
wait(0.1)
TING = false
end
end

function Update()
if Player.Character.Humanoid.Jump == true then
FirstJump = true
else
FirstJump = false
MidJump = false
end
end

Mouse.KeyDown:connect(onKeyDown)
Player.Character.Humanoid.Changed:connect(Update)
Report Abuse
18lpickett is not online. 18lpickett
Joined: 15 Jul 2012
Total Posts: 3121
08 Aug 2014 06:01 PM
bumped

LIKE A BOSS
Report Abuse
18lpickett is not online. 18lpickett
Joined: 15 Jul 2012
Total Posts: 3121
08 Aug 2014 09:22 PM
Bumped

Not feeling like a boss since this forum is ignored D;
Report Abuse
18lpickett is not online. 18lpickett
Joined: 15 Jul 2012
Total Posts: 3121
08 Aug 2014 09:32 PM
bayumped
Report Abuse
18lpickett is not online. 18lpickett
Joined: 15 Jul 2012
Total Posts: 3121
08 Aug 2014 09:38 PM
bumped
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
08 Aug 2014 09:40 PM
What I used to do was this:

Create part below the character and force jump them when they jump the first time
Report Abuse
18lpickett is not online. 18lpickett
Joined: 15 Jul 2012
Total Posts: 3121
08 Aug 2014 10:06 PM
Yes but this was working just yesterday
Report Abuse
ungh01 is not online. ungh01
Joined: 24 Dec 2008
Total Posts: 876
08 Aug 2014 10:11 PM
I just tested it solo, and it works quite fine. Is it in a localscript?
Report Abuse
18lpickett is not online. 18lpickett
Joined: 15 Jul 2012
Total Posts: 3121
08 Aug 2014 10:13 PM
yes local script and everything, but it just sttoped working for some reason..
Report Abuse
18lpickett is not online. 18lpickett
Joined: 15 Jul 2012
Total Posts: 3121
08 Aug 2014 10:23 PM
Heres the thing it works in all other modes, but Play mode
Report Abuse
ungh01 is not online. ungh01
Joined: 24 Dec 2008
Total Posts: 876
08 Aug 2014 10:29 PM
In online mode, have you pressed f9 to check the output?
Report Abuse
18lpickett is not online. 18lpickett
Joined: 15 Jul 2012
Total Posts: 3121
08 Aug 2014 10:31 PM
Yes nothing unusal seemed to pop up, you can check it out on my games called Studio Project battle for bikini bottom
Report Abuse
18lpickett is not online. 18lpickett
Joined: 15 Jul 2012
Total Posts: 3121
08 Aug 2014 10:46 PM
Bumped
Report Abuse
ungh01 is not online. ungh01
Joined: 24 Dec 2008
Total Posts: 876
08 Aug 2014 10:50 PM
Lol I just joined, and I can double jump fine by double tapping space
Report Abuse
18lpickett is not online. 18lpickett
Joined: 15 Jul 2012
Total Posts: 3121
08 Aug 2014 10:50 PM
Your kidding me lol give me a sec to test
Report Abuse
18lpickett is not online. 18lpickett
Joined: 15 Jul 2012
Total Posts: 3121
08 Aug 2014 10:51 PM
It seems as if it auto fixed itself. Thx for pointing it out :D
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