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: jumping : an annoyance.

Previous Thread :: Next Thread 
lsp425 is not online. lsp425
Joined: 10 Dec 2011
Total Posts: 603
14 Aug 2014 11:00 PM
Is there any way (other than changing the gravity of the game) to lessen or stop the roblox character from jumping?
Report Abuse
Immacularity is not online. Immacularity
Joined: 21 Jun 2014
Total Posts: 419
14 Aug 2014 11:05 PM
game.Players.LocalPlayer.Character.Changed:connect(function(prop)
if prop=="Jump" then
game.Players.LocalPlayer.Character.Jumping=false
end
end)
Not 100% certain if it'll work but w/e I think you can figure it out.
_____________________________________
BinaryStringValues4Life
Report Abuse
lsp425 is not online. lsp425
Joined: 10 Dec 2011
Total Posts: 603
14 Aug 2014 11:06 PM
I have tried that and it only works in studio.
Report Abuse
Immacularity is not online. Immacularity
Joined: 21 Jun 2014
Total Posts: 419
14 Aug 2014 11:08 PM
If it doesn't work then you really can only do it w/ bodyforces. Sorry.
game.Players.LocalPlayer.Character.Changed:connect(function(prop)
if prop=="Jump" then
bf=Instance.new("BodyForce",game.Players.LocalPlayer.Character.Torso)
game.Debris:AddItem(bf,0.5)
bf.force=Vector3.new(0,-100,0)
end
end)
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