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: Anti Jump?

Previous Thread :: Next Thread 
xiaoxiao181 is not online. xiaoxiao181
Joined: 14 Aug 2008
Total Posts: 5882
02 Aug 2013 07:31 PM
Used to I could use a changed method to put the Jumped value to false when the spacebar was pressed, but apparently that was ruined a long time ago.

So, is there any effective way to keep a player's feet on the ground without affecting his normal movement? I was thinking body force, but the only thing I can think of is placing that into a character everytime he tried to jump and removing it afterwards.
Report Abuse
DrWaffler is not online. DrWaffler
Joined: 16 Sep 2011
Total Posts: 4248
02 Aug 2013 07:37 PM
I think you can clear the controller service, but I'm not sure if that works online.

I am reborn as an ocelot. You disapprove.
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
02 Aug 2013 07:37 PM
if character.Jumped then
character.Jumped = false


Something like that, On a mobile device so can't give you exact script.
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
02 Aug 2013 07:41 PM
script.Parent.Humanoid.Changed:connect(function()
if script.Parent.Humanoid.Jump then
script.Parent.Humanoid.Jump = false
end
end)


In a localscript works.
Report Abuse
xiaoxiao181 is not online. xiaoxiao181
Joined: 14 Aug 2008
Total Posts: 5882
02 Aug 2013 07:59 PM
That's the same thing I was just talking about. It doesn't work anymore.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
02 Aug 2013 08:03 PM
It obviously won' work, jump just enabled when you click space, it doesn't stay on while you are in air.

Just anytime their Position.Y is changed, bring it back down
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
02 Aug 2013 08:16 PM
It works for me..?
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
02 Aug 2013 08:18 PM
^^ Not for me, never worked for me, not ever, not even on any games I've played in.
Have you tested it?
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
02 Aug 2013 08:23 PM
Tested it in Solo, since it's a localscript shouldn't make any differences in Multiplayer.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
02 Aug 2013 08:23 PM
Is this new O_o
I never tested it in quite some time...
This will save me a lot of time
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
02 Aug 2013 08:27 PM
Try it, Then.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
02 Aug 2013 08:28 PM
I'm not home atm
Report Abuse
bohdan77 is not online. bohdan77
Joined: 10 Aug 2008
Total Posts: 7944
02 Aug 2013 08:32 PM
http://www.roblox.com/jumpity-place?id=125040213
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
02 Aug 2013 08:32 PM
There's no Roblox on this laptop
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