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: How might one prevent a character from tripping?

Previous Thread :: Next Thread 
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
31 Mar 2014 11:54 PM
Obviously not asking for a script.
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
01 Apr 2014 12:31 AM
Link to script for how tripping works plox
Report Abuse
iYoshiFox is not online. iYoshiFox
Joined: 14 Apr 2012
Total Posts: 1058
01 Apr 2014 12:43 AM
Like.. Sit? Platformstand? Or litterally just fall over.
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
01 Apr 2014 12:46 AM
Falling over.
I can`t find any documentations on how it works.
Sitting/PlatformStand is easy to cancel.
Report Abuse
iYoshiFox is not online. iYoshiFox
Joined: 14 Apr 2012
Total Posts: 1058
01 Apr 2014 12:48 AM
Just add a body gyro to their torso)

Instance.new("BodyGyro", char.Torso).maxTorque = Vector3.new(math.huge, math.huge, math.huge)
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
01 Apr 2014 12:49 AM
That`s not stopping them from tripping. That`s stopping them from tilting. This interferes with the reason that I am trying to prevent it in the first place. Not your fault, I probably should have provided this information.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
01 Apr 2014 04:25 AM
plr = game.Workspace.warspyking
Default = plr.Torso.Position.X
while wait() do
Current = plr.Torso.Position.X
if Current < Default then
Increase = Default - Current
plr.Torso.Position = plr.Torso.Position + Vector3.new(0, Increase, 0)
end
end


That should work, and still allow jumping. But it may glitch.
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
01 Apr 2014 08:11 PM
Three things:
1.) You`re using Position instead of CFrame so that`ll kill the player
2.) This script would just make a player move upward at a speed compared to how much lower on the X Dimension he was at when the script was executed.
3.) This in no way solves tripping.
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