|
| 26 Oct 2012 06:11 PM |
Hi I'm trying to make a script so when the player jumps they jump slower kinda like moon grav not not as high.
Any ideas?
|
|
|
| Report Abuse |
|
|
|
| 26 Oct 2012 06:14 PM |
BodyForce
http://wiki.roblox.com/index.php/BodyForce |
|
|
| Report Abuse |
|
|
|
| 26 Oct 2012 06:15 PM |
err but then you jump higher...
|
|
|
| Report Abuse |
|
|
|
| 26 Oct 2012 06:19 PM |
Read the question wrong, sorry.
|
|
|
| Report Abuse |
|
|
woot3
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 3599 |
|
|
| 26 Oct 2012 06:22 PM |
You can use BodyVelocity, use it against the Velocity with some math in a local script. As a player goes up the Torso velocity will obviously change, just use that in the Body Velocity, and slow it down slowly. Then go back down. |
|
|
| Report Abuse |
|
|
|
| 26 Oct 2012 06:24 PM |
I knew there was a Body class that could work for this.
Couldn't think of which one. |
|
|
| Report Abuse |
|
|
|
| 26 Oct 2012 06:34 PM |
How do I detect when the torso is moving?
|
|
|
| Report Abuse |
|
|
|
| 26 Oct 2012 06:38 PM |
I don't think you can. The .Changed event and other means of Humanoid events don't seem to be detecting torso position changes unless it was manual.
¤ ¤ †KMXD† ¤ ¤ |
|
|
| Report Abuse |
|
|
|
| 26 Oct 2012 06:41 PM |
:c that stinks...
Any way of making it so they can't jump?
|
|
|
| Report Abuse |
|
|
woot3
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 3599 |
|
|
| 27 Oct 2012 01:12 AM |
There is a way to detect is. I think it's Humanoid.Jumping
I mean, the animate script knows when you jump. |
|
|
| Report Abuse |
|
|
digpoe
|
  |
| Joined: 02 Nov 2008 |
| Total Posts: 9092 |
|
|
| 27 Oct 2012 05:15 AM |
| Humanoid.Jump:connect(function) |
|
|
| Report Abuse |
|
|