I have a game where i want players to have a higher jump power everytime they jump but my script isn't working right. Can somebody help me? This is my script:
local JumpPower = 50
local Player = script.Parent
while wait() do
if Player.Humanoid.jumping == true then
repeat
JumpPower = JumpPower + 0.01
Player.Humanoid.JumpPower = JumpPower
print(JumpPower)
until Player.Humanoid.jumping == false
end
end
But when i jump for some reason if Player.humanoid.jumping == true then is always false.
This is the full script.

2 comments
you would have to make them sit then check everytime they go back to standing
This is false.