and then the changed gets activated and the function runs
will the other code still be working / executed after it
like also other connections, waits, coroutines, just everything? or will anything stop or not be working?
A connection firing by itself has no effect on other threads. The callback function can only run when it is given an opportunity to, which it likely will get when the rest of the script yields or simply reaches the last line.
Threads describe code that’s being executed. Each script has its own thread and you’re able to create/manage threads using the coroutine library.
By default, all threads can only run in serial, one after the other without overlap. Multiple threads can be relevant at a certain moment, but only one is actively executing while the others are waiting for their opportunity (or a call to resume them if they’re suspended). In parallel LuaU, each Actor can execute code in parallel with others.
@DeVague_RBLX I’d prefer not to clutter this topic more than I already have. You might want to create a new topic or send a PM instead.