I heard coroutine is better to use, is this true?
✓ ANSWER ACCEPTED
What is the difference between coroutine and spawn(function()?
1 answer
✓ Accepted answer
spawn wait()'s at the beginning before running, coroutine doesn't.
I'd say use coroutines over spawn.
"spawn seems innocent at first, but once you have a lot of code that all uses spawn, you can see significant delays in execution upwards of several seconds in a resource-intensive games"
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
any other question? i didn't explain much as i'd like