your not calling the threads right
Code:Somethread() { if(something) { [level, player or self] thread waittillspawn(); [level, player or self] thread waittillprematch(); } }waittill_any("player_spawned", "player_connected");PS: Somebody knows a code that wait for 2 things at the ssame time like waittill( "player_spawned" || "player_connected" );?
and for the last loop, there will be alot of lag unless if you add a wait