I am currently working on a minigame type game, and was wondering the best way to test when the number of players in the round is less than or equal to 1. For example, the current way I test it:
repeat wait() until #playersInGame <= 1
is there a different way that uses a function instead of repeat?
Yeah I just gave a brief code example, you could potentially get all of the players & check if they’re ingame or not then create your Character.Humanoid.Died event that way