JOHN111b
|
  |
| Joined: 04 Jun 2008 |
| Total Posts: 188 |
|
|
| 10 Aug 2012 12:44 AM |
| I really want a double jump script NOT A TOOL but I don't know how to script but if you have any idea's on how, or too make me one |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 12:45 AM |
| It is simple, read the wiki.. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 01:08 AM |
function onTouched(hit) debounce = false hit.Parent.Humanoid.Jump = true hit.Parent.Humanoid.Jump = true end
script.Parent.Touched:connect(onTouched)
This will make it so when you touch a brick, you jump twice. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 01:19 AM |
...... no it doesn't. first of all the 'hit' might not necessarily be from a character. it could be flying debris. in this case the script errors and disconnects.
in addition, setting 'jump' to true does make the humanoid jump, but setting it to the same value again doesn't do anything; there's no perceivable change.
even if you told the humanoid to jump twice it wouldn't work. the humanoid can't jump when it's already in the air.
and finally, your debounce was applied improperly and doesn't do anything. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 01:23 AM |
| It worked when i tested it. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 01:25 AM |
| really? i tested it myself. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2012 01:28 AM |
Well it didnt jump in the air twice
But debounce worked. |
|
|
| Report Abuse |
|
|
bob371
|
  |
| Joined: 15 Aug 2008 |
| Total Posts: 1834 |
|
|
| 10 Aug 2012 02:25 AM |
| You could always use a local script in the backpack that detects key movement, and a well timed torso velocity to give a double jump effect. |
|
|
| Report Abuse |
|
|
bob371
|
  |
| Joined: 15 Aug 2008 |
| Total Posts: 1834 |
|
|
| 10 Aug 2012 02:27 AM |
| I could script it tomorrow if you could wait a few hours. |
|
|
| Report Abuse |
|
|