Does .PlayerAdded create its own coroutine?

Hello!

Basically the title. I want to create an experience handler, but was wondering if I would have to create my own coroutine for it or if Roblox does it automatically?

It shouldn’t yield other PlayerAdded events neither script.

Also put this on scripting support

2 Likes

Oops, wrong category, apologies.

I’m a little confused about your answer, if I do a .PlayerAdded event, and then did a loop with yields with that player, it creates its own thread and won’t yield the other loops that are going on at the same time?

It won’t. :Connect(function f) in simplest terms is a “thread” of execution that will be ran separately when the event is fired.

1 Like