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: How do you disable a player's jump command?

Previous Thread :: Next Thread 
matt1020304050 is not online. matt1020304050
Joined: 24 May 2008
Total Posts: 4475
09 Jul 2015 10:05 PM
?
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
09 Jul 2015 10:06 PM
local Character = ...
local Humanoid = Character.Humanoid

Humanoid.Changed:connect(function()
Humanoid.Jump = false
end)
Report Abuse
matt1020304050 is not online. matt1020304050
Joined: 24 May 2008
Total Posts: 4475
09 Jul 2015 10:11 PM
I mean from their actual player script how can I get rid of the actual jump command or just remove the jump = true part?
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
09 Jul 2015 10:12 PM
What I wrote for you does that...?
Report Abuse
KoreanBBQ is not online. KoreanBBQ
Joined: 06 Mar 2015
Total Posts: 1436
09 Jul 2015 10:13 PM
Dont mess with that just use what he wrote its what I use and what everyone uses
Report Abuse
matt1020304050 is not online. matt1020304050
Joined: 24 May 2008
Total Posts: 4475
09 Jul 2015 10:14 PM
@thedestroyer115 yes I know it does, thanks for that. But what I wanted to know was how to disable or change the actual player coding that causes that event to fire. Just like the WASD keys moving players around.
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
09 Jul 2015 10:18 PM
Afaik, no. Why would you need to do that?
Report Abuse
matt1020304050 is not online. matt1020304050
Joined: 24 May 2008
Total Posts: 4475
09 Jul 2015 10:27 PM
I just want to know, there is a 'ControlScript' in the StarterPlayer area, I modified and even deleted that but it seems to have no control over my character. Even when it's resetted.
Report Abuse
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
09 Jul 2015 10:29 PM
1. Start a test server or play solo mode, then look in the StarterPlayerScripts. You should find a copy of the CameraScript and ControlScript. Copy these and then go to your game in studio. Paste them into your StarterPlayerScripts folder.

2. Open the MasterControl script located under the ControlScript.

3. Comment out all of the code located inside the SetIsJumping and DoJump functions. Make sure to NOT comment out the functions themselves.


For more information on the Camera and Control scripts:

http://wiki.roblox.com/index.php?title=Movement_and_camera_controls
Report Abuse
matt1020304050 is not online. matt1020304050
Joined: 24 May 2008
Total Posts: 4475
09 Jul 2015 10:35 PM
Nevermind I figured it out.

If you're interested.

Go into your player's PlayerScripts

Open

ControlScript

Open MasterControls

Open KeyBoardMovement

and comment out the line 117

--ContextActionService:BindActionToInputTypes("jumpAction", jumpFunc, false, Enum.PlayerActions.CharacterJump)

Report Abuse
nQqzRYVpIKA5jLP is not online. nQqzRYVpIKA5jLP
Joined: 05 Mar 2015
Total Posts: 4135
09 Jul 2015 10:37 PM
That only works for computer. Also you are, for some reason, using a really outdated version of the ControlScript.
Report Abuse
matt1020304050 is not online. matt1020304050
Joined: 24 May 2008
Total Posts: 4475
09 Jul 2015 10:39 PM
Oh you beat me to it. And ok, thanks guys appreciate it.
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