function click()
if click then
local humanoid = game.Players:FindFirstChild("Humanoid")
wait(1)
humanoid.JumpPower = 100
end
end
script.Parent.ClickDetector.MouseClick:Connect(click)
✓ ANSWER ACCEPTED
Make player jump twice as high when this button is clicked?
1 answer
✓ Accepted answer
So i see you attempted to find humanoid in player.. which is a bit wrong, you must find it on Character not player Here is my script (Hope it works)
script.Parent.MouseClick:Connect(function(Click) -- a different technique that i use
wait() -- uhh wait ? Add a number if you want to
Click.Character:FindFirstChild("Humanoid").JumpPower = 100 -- Change JumpPower to 100
end)
Hope that helped
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Do you want the player to jump twice as high once or permanently?