//Put this under /levelup commandfor(new i=0; i < MAX_PLAYERS; i++){ //level up function, example: LevelUp(i); //this will level up all players in server, which are "marked" with "i"}