Getting all running threads?

Since coroutine.running() returns the thread it’s being called from. Is there a way to get all running threads and is there a way to detect a new thread is created?

1 Like

It might be helpful to take a look at this, it isn’t an exact solution but the thread does show some ways to identify threads.

https://devforum.roblox.com/t/what-causes-number-of-threads-running-to-increase/33343