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!

4 comments

1

delay(#, function() --Code Here; end);

0

@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?

0

Never mind someone helped me.

0

Thank you for your help. :)