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
 

Is it possible to make this script?

Previous Thread :: Next Thread 
chase789 is not online. chase789
Joined: 03 Jun 2008
Total Posts: 3486
06 Apr 2012 09:22 AM
There is a problem in ROBLOX's physics and I wanna try something like a once a player trips onTouch, he automatically stands up.

Is it possible?
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
06 Apr 2012 09:37 AM
Yes.
Report Abuse
Eyin is not online. Eyin
Joined: 10 Oct 2009
Total Posts: 567
06 Apr 2012 09:40 AM
The FallingDown (event) can be useful as to tell when it actually trips. Then I would just reset the velocity after returning the Torso's CFrame to something normal.
Report Abuse
sam4life is not online. sam4life
Joined: 17 Feb 2009
Total Posts: 1733
06 Apr 2012 10:53 AM
So you would do it like this or not?:
if player.Character:FallingDown() then
-reset stuff?

or

player.Character:FallingDown():connect(BlahBlah)?
Report Abuse
chase789 is not online. chase789
Joined: 03 Jun 2008
Total Posts: 3486
06 Apr 2012 11:20 AM
BUMP!
Report Abuse
sam4life is not online. sam4life
Joined: 17 Feb 2009
Total Posts: 1733
06 Apr 2012 12:59 PM
Bump
Report Abuse
dino2306 is not online. dino2306
Joined: 18 Aug 2009
Total Posts: 1964
06 Apr 2012 02:19 PM
@Sam
last one
Report Abuse
sam4life is not online. sam4life
Joined: 17 Feb 2009
Total Posts: 1733
06 Apr 2012 02:22 PM
Thanks.
Report Abuse
sam4life is not online. sam4life
Joined: 17 Feb 2009
Total Posts: 1733
06 Apr 2012 02:36 PM
Ok that didn't work. But I tried this in a local script inside the players character and got this output: 17:attempt to call field'FallingDown'(a userdata value)

player.Character.Humanoid.FallingDown():connect(Reset) -- line 17
Report Abuse
Eyin is not online. Eyin
Joined: 10 Oct 2009
Total Posts: 567
06 Apr 2012 02:36 PM
player.Character.Humanoid.FallingDown:connect(Reset)
Report Abuse
sam4life is not online. sam4life
Joined: 17 Feb 2009
Total Posts: 1733
06 Apr 2012 02:36 PM
Sorry the line is:

player.Character.Humanoid:FallingDown():connect(Reset) -- line 17
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
06 Apr 2012 02:41 PM
player.Character.Humanoid:FallingDown:connect(Reset)

~When life gives you lemons, you say 'I ain't even mad'.~
Report Abuse
UFAIL2 is not online. UFAIL2
Joined: 14 Aug 2010
Total Posts: 6905
06 Apr 2012 02:41 PM
player.Character.Humanoid.FallingDown:connect(Reset)

~When life gives you lemons, you say 'I ain't even mad'.~
Report Abuse
sam4life is not online. sam4life
Joined: 17 Feb 2009
Total Posts: 1733
06 Apr 2012 02:42 PM
Dm, fixed.

player.Character.Humanoid.FallingDown:connect(Reset) -- line 17
Report Abuse
NASRI404 is not online. NASRI404
Joined: 14 Dec 2010
Total Posts: 11
06 Apr 2012 03:54 PM
I agree
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