I have a part with a ClickDetector, and I want it to make the player to jump 6 seconds after they click it, how do I do this? I tried many times with different scripts but none of them seem to work.
✓ ANSWER ACCEPTED
How do I make a button that makes the player jump when they press it?
1 answer
✓ Accepted answer
script.Parent.ClickDetector.MouseClick:connect(function(Player)
local Humanoid = Player.Character:FindFirstChild("Humanoid")
wait(6)
Humanoid.Jump = true
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thank you so much! This really helps! I will accept your answer