Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 29 Apr 2014 04:25 PM |
I just made this off the top of my head, obviously I didn't did it correctly.
tool.Parent.Humanoid.Jumping:connect(function(jumpbool) if jumpbool == true then justjumped = tool:FindFirstChild("JustJumped") if justjumped then tool.Parent.Humanoid.Jump = false elseif not justjumped then bodyforce = Instance.new("BodyForce",tool.Parent.Torso) bodyforce.force = Vector3.new(0,-2000,0) game.Debris:AddItem(bodyforce,1) boolvalue = Instance.new("BoolValue",tool) boolvalue.Name = "JustJumped" game.Debris:AddItem(boolvalue,3) end end end) |
|
|
| Report Abuse |
|
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
| |
|
ruines
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 7823 |
|
|
| 29 Apr 2014 05:25 PM |
| What do you mean control jumping? like,someone controls another person's jump? or wut? ;P |
|
|
| Report Abuse |
|
|
robomax11
|
  |
| Joined: 07 Jul 2011 |
| Total Posts: 6828 |
|
|
| 29 Apr 2014 05:40 PM |
something like stamina
ˢᶦᵈᵉ ᵉᶠᶠᵉᶜᵗˢ ᵐᵃʸ ᶦᶰᶜᶫᵘᵈᵉ﹕ ᶫᵃᶜᵗᵃᵗᶦᶰᵍ, ʰᵉᵃᵈ ᵉˣᵖᶫᵒᵈᶦᶰᵍ ˢʸᶰᵈʳᵒᵐᵉ, ᵃᶰᵈ ᶫᵒˢˢ ᵒᶠ ᵍᵉᶰiᵗᵃᶫˢ |
|
|
| Report Abuse |
|
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 29 Apr 2014 06:04 PM |
@above Correct(nice text by the way). It should make the player only be able to jump every 3 seconds and when they do jump, it isnt as high |
|
|
| Report Abuse |
|
|
Perci1
|
  |
| Joined: 24 Jan 2011 |
| Total Posts: 1027 |
|
|
| 29 Apr 2014 06:11 PM |
| Is jumping a valid event? I always just used the Changed event. |
|
|
| Report Abuse |
|
|
Hibobb
|
  |
| Joined: 18 Apr 2010 |
| Total Posts: 2146 |
|
|
| 29 Apr 2014 06:41 PM |
| Jumping is. It creates the bodyforce, the problem is that it doesnt stop you from jumping if justjumped is in the tool |
|
|
| Report Abuse |
|
|
|
| 29 Apr 2014 06:45 PM |
SO somehting like Apocoypse Rising has.
I used to have one but I don;t know where I put it(or if I removed it from one of my games) |
|
|
| Report Abuse |
|
|