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

So how do i use repeat loops again?

repeat wait(1)
	print("Checking Players Level")
until game.Players.LocalPlayer.Data.Level > 1 
print("Player is above level 1")

1 comment

0

Thats correct.

1 answer

Try this.

while game.Players.LocalPlayer.Data.Level < 1 do
	wait(1)
end
print("Player is above level 1")

The script will continue to loop until they're level 2

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