if #playersInRound == 1 then
		sounds.UnusedMusic.WinResults:Play()
		for i, player in pairs (game.Players:GetPlayers()) do
			if player then
				status.Value = player.Name.. ' was the last one standing!'
			end
		end
	end

The current script, once activated, only outputs the name of the last player to join the game. I'm unsure how to configure it so that the playersInRound table can be used to find a players name.

And if you were wondering, all players are inserted into playersInRound at the start of each round, i'm just unsure if it's possible to obtain .Name information this way.

1 comment

2

playersInRound[#playersInRound].Name