I’ve noticed that more than the MaxPlayers of a game seem to be joining. I have both the max players and recommended players of my place set to 15, but I was just in a server with 16 players, which broke the game.
Seems all of Roblox’s stuff is being wonky lately, though.
This has happened on ROBLOX for as long as I can remember, probably just because of latency + people joining very quickly at the same time.
Luckily Players.MaxPlayers is a readable property now, so you could just kick the player if they cause the playercount to go above the limit. (it shouldn’t happen that often in a 15 player game)
This is a bug that has been there for ages. I’m pretty sure it’s caused by latency: if you want to join a game, your computer sends a request to the Roblox servers and they’ll check if there’s a spot. There’s a really small window of time between the server sending data back and you being added to a server. So two players can join the same server with one spot left if their requests reach the server at the same time. I could be wrong on this though.
One thing you might want to consider is kick out any player that joins the game after the server is already full. Not really elegant, but it works for the time being. I do hope though that another layer of checks is added sometime to decrease the odds of this happening.