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

How to make a player jump through a script?

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

2 comments

0

The answer you got, press Solved next to it

0

Please accept my answer.

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.