So I have a main script which loops through various items in a tycoon I have and requires a module script - which returns a function - for each item that needs it. My problem is I only want the wait in the loop to be just wait(), but I need the functions in the module scripts to be delayed by at least a second before it begins. Hope you guys can help. Thanks!
COMMUNITY QUESTION
[Solved]How can I delay when my module scripts begin?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
delay(#, function() --Code Here; end);
@Zafirua how would I use that in my particular situation? Because I am worried that it will still hold up my main script. Is delay like a coroutine?
Never mind someone helped me.
Thank you for your help. :)