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 
radiogamer is not online. radiogamer
Joined: 06 Oct 2008
Total Posts: 1975
17 Aug 2013 06:50 PM
Is there anyway to make sure a player is not possible to jump anymore?

That is, the Jump in Humanoid can never be true (so not the method that makes Jump = false on changed).

I did find something about controllerservice and controller, but I have no idea how to only 'remove' the jump part.
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
17 Aug 2013 06:51 PM
game.Players.PlayerAdded:connect(function(plr)
plr.CharacterAdded:connect(function(char)
char.Humanoid.Changed:connect(function()
char.Humanoid.Jump = false
end)
end)

Made my own virtual virtual log in, umad? http://www.roblox.com/test-place?id=94130553 <- Sig
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
17 Aug 2013 06:51 PM
Just force the Y position of the torso to stay low, or add a body position and make it strong and 'forced' on floor.
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
17 Aug 2013 06:52 PM
This will work because I used it before, and if it doesn't work now blame John.

Made my own virtual virtual log in, umad? http://www.roblox.com/test-place?id=94130553 <- Sig
Report Abuse
radiogamer is not online. radiogamer
Joined: 06 Oct 2008
Total Posts: 1975
17 Aug 2013 06:57 PM
To state my problem more simple, when you are in a vehicle, having jump = true causes you to jump out.
I don't want this to happen, and the on change method is not strong enough to prevent this (why did you suggest this anyway while I said don't)
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
17 Aug 2013 07:05 PM
Why don't you be more clear about your problem? I thought you said this method wouldn't work, and thinking this I say to myself, "He must be inexperienced." So, I gave you a working version.

Made my own virtual virtual log in, umad? http://www.roblox.com/test-place?id=94130553 <- Sig
Report Abuse
radiogamer is not online. radiogamer
Joined: 06 Oct 2008
Total Posts: 1975
17 Aug 2013 07:09 PM
Look.

You are driving in a vechicle. I don't want people to jump out of the vehicle, so I'm looking for a way to prevent them to jump. I have already tried the humanoid.changed method, but that isn't powerful enough to prevent jumping.

Heck no I'm inexperienced.
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