I have 2 coroutines running. When they are running I want to halt the script and only continue if both coroutines are dead.
Note: both coroutines have already been created and the script below works perfectly fine.
What I have is
repeat wait() until coroutine.status(Event1) == "dead" and coroutine.status(Event2) == "dead"
I'm new to using this coroutine thing so I wonder if there's a better alternative
You will have to make sure you created the coroutine first