So I am currently trying to figure out this..(I am new to scripting) I was trying to make a script that is placed in a part and when the part is touched by 1 player than it makes that player jump after maybe 3 seconds, If anyone knows how to go about it can they please send a answer and explain how it works, thank you for reading and helping me :3
✓ ANSWER ACCEPTED
How to make a player jump through a script?
1 answer
✓ Accepted answer
Humanoids have a bool in them called Jump and it will make the player jump.
local part = script.Parent
part.Touched:connect(function(hit) --When the part is touched
if hit.Parent:FindFirstChild('Humanoid') then --Checks to make sure it's a whoman.
wait(3) --Waits three seconds
hit.Parent.Humanoid.Jump = true --Makes them jump
end
end)
3 comments
0
Thank you!
0
@Kingwizard13093 accept this answer as correct.
1
Checks to make sure it's a whoman?
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
The answer you got, press Solved next to it
Please accept my answer.