Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Random jump without while loop? [closed]

Asked by 9 years ago

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.

Closed as Not Constructive by NinjoOnline, Goulstem, and Perci1

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 9 years ago

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

0
It would be easiest to just change the Jump property directly. Perci1 4988 — 9y
Ad