|
| 06 Jul 2015 03:38 AM |
while true do local humanoid = script.Parent.Parent.Character:FindFirstChild("Humanoid") if humanoid ~= nil then if humanoid.Jump == true then humanoid.Parent.Torso.Velocity=Vector3.new(0,110,0) wait(.5) humanoid.Jump = false humanoid.Parent.Torso.Velocity=Vector3.new(0,0,0) end end wait() end
I can jump forever while in the air :( |
|
|
| Report Abuse |
|
|
| |
|
|
| 06 Jul 2015 03:54 AM |
| i've never used events how would i do that? |
|
|
| Report Abuse |
|
|
| |
|
louiskk
|
  |
| Joined: 31 Dec 2008 |
| Total Posts: 228 |
|
|
| 06 Jul 2015 05:49 AM |
Events are ways of detecting changes and triggering a function in response.
E.g
function jumpHigh()
end
humanoid.Changed:connect(jumpHigh)
Now whenever something in humanoid changes it will run the function.
|
|
|
| Report Abuse |
|
|