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

How do you break a loop with admin privileges?

Asked by 9 years ago

For testing stuff I'd need my own privileges so if I did;

Player1 = game.Players.MYNAME

Then that would collect my user and save it in a variable. Alright so if I wanted a loop to break for only if I join, then id add a statement like

repeat wait(1) until game.Players.NumPlayers >= 2 if Player1 then break

Is this a correct way?

0
I don't understand what you're trying to do. Perci1 4988 — 9y
0
Well perci I'm storing my name inside of a variable and if my player is in the game while it's looking for 2 players it'll break the code and continue through the lines past it. It will break the loop. TheReapersComing 0 — 9y

Answer this question