They are used to repeat instructions, sometimes until specific conditions are met. In this article, the while loop is used to repeat instructions forever. To create a while loop that repeats forever, use the syntax below, being sure to include instructions between the do and end keywords. ...
For some reason, the loop keeps on going even when the Playing BoolValue is true, I have tried printing it and it says its true when it needs to be but the loop keeps on going. if data.quest1 == "begin" then print("starting") repeat task.wait() until playing.Value == true ...
They are used to repeat instructions, sometimes until specific conditions are met. In this article, the while loop is used to repeat instructions forever. To create a while loop that repeats forever, use the syntax below, being sure to include instructions between the do and end keywords. ...