Make sure to add self endon("disconnect") and ("death") so it looks like this:
PutCode:Rules() { self endon("disconnect"); //Ends when user quits the server self endon("death"); //Ends when player dies since this gets run again when you spawn again while( 1 ) { iPrintLn("zzz"); iPrintLn("xxx"); iPrintLn("uuu"); wait 59; } }
self thread Rules();
under onPlayerSpawned!