Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Make player jump twice as high when this button is clicked?

function click()
	if click then
		local humanoid = game.Players:FindFirstChild("Humanoid")
wait(1)
humanoid.JumpPower = 100

	end
end

script.Parent.ClickDetector.MouseClick:Connect(click)


1 comment

0

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

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.