How would I do a loop that waits for a model to load that has been inserted from lighting to workspace?
✓ ANSWER ACCEPTED
Help with loading?
1 answer
✓ Accepted answer
Use a :WaitForChild() or add this inside of your function:
repeat
wait()
until game.Workspace:FindFirstChild("ExampleModel")
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
and remember, as always, the
~= nilis superfluous. Since you're answering the question, and repeat - until isn't that common, it might be better to use the standard line breaks and tabbing...Updated, thank you.