I've asked a question similar to this before, however i feel this is a lot different. I know you wouldn't create a coroutine specifically for running a few lines of code at once, since their purpose is much greater than just running code at the same time.
But is coroutine.wrap an exception? I've seen in tons of scripts people using something like:
coroutine.wrap(function()
repeat wait(1)
Something = Something + 1
until nil
end)()
-- when it could be:
spawn(function()
repeat wait(1)
Something = Something + 1
until nil
end)
But, wouldn't spawn be better? Or at least more practical? If anyone knows this a bit more than I do, I'd appreciate your insight.

1 comment
Made a few typos, corrected them.