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

Random jump without while loop?

How do I get a humanoid to jump randomly every 10-20 seconds without using a while loop? I need to be able to fit this within another script so using a while loop wouldn't work here.

1 answer

I think you would have to use a while loop. But one thing you can do, to allow for visibility to the when to jump is to set a object value (a boolean ) to true when its time to jump, so your script that tells the humanoid to jump, sees this setting, independently.

-Jason

1 comment

0

It would be easiest to just change the Jump property directly.

This discussion is preserved as it was. New answers, comments, and votes are closed.