coroutine.resume(coroutine.create(function()
Any Idea what this is or what is used for?
coroutine.resume(coroutine.create(function()
Any Idea what this is or what is used for?
They're coroutines. "These features of Lua will allow multiple threads to run alongside each other without having to create separate script instances or have to wait for the current running code block to finish." You can read up on them here: http://wiki.roblox.com/index.php/Beginners_Guide_to_Coroutines. Hope I've helped!
This discussion is preserved as it was. New answers, comments, and votes are closed.