I have created a game for 6 players that allows a player to rejoin the game on death but they will just have to start back at the original spawn location and restart the "race" from there. I have all of that implemented, but now I am looking to make it so that the game will wait for at least 4 players before it starts. It looked like a lobby was the answer, but it appears with a lobby - players in the current game cannot re-spawn within their game but only back in the lobby - is that correct? Is there some work around or a different type of solution I should be looking at?
Thanks!
✓ ANSWER ACCEPTED
Lobby - is there a way to still let current players respawn in their game?
1 answer
✓ Accepted answer
Uhhh, don't entirely understand the problem, but here is some code that waits until there are 4 people in the game before running the if statement. It will check again after the if statement runs. Hopefully this helps :)
--put in ServerScriptService
while wait() do
if game:GetService("Players").NumPlayers >= 4 then
--Your code here :)
else
end
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

9 comments
No, it is still possible for players to respawn within their game. Just make a bunch of bricks and bring the players to those bricks that are not in the lobby. Be sure to not get confused about teleportation (Torso for R6, HumanoidRootPart for R15).
But R6 has a HumanoidRootPart too.
I think R6 has HumanoidRootPart. HumanoidRootPart should be used for teleportation.
Torso is used for R6.
Watch that attitude, and yes, R6 straight up has a HumanoidRootPart. Go look right now.
ohh...
I still use Torso.
No hard feelings. Though i would recommend using the root part so your scripts are more flexible.
Sorry - got a little confused on the back and forth here- could you just clarify this a bit?