Hey,
I've got a leaderboard and at the start of the game, each player may pick a nation, until there, I've got it sorted out, what I want to know is how to detect if someone leaves so I can make that nation available to pick again.
Thanks!
Works if the player leaves or is kicked. I don't think roblox has any event for if the player suddenly disconnects.
game.Players.PlayerRemoving:connect(function(ply) --Add Nation end)