Script not functioning

Hello,
I’m currently writing a script to detect if any players have a BoolValue named ‘playingRound’. If at least one player has the BoolValue, it should print(“Someone is playing in the round.”) If no players have it, it’s supposed to print(“Nobody is playing in the round.”)
Regardless of whether anyone has the BoolValue or not, the script does not seem to function.

(For context, the BoolValue’s parent is the player.)

for i,v in pairs(game.Players:GetPlayers()) do
	if v:FindFirstChild("playingRound") then
		print("Someone is playing in the Round")
	else
		print("Nobody is playing in the round")
	end
end	

Thank you for any help.

It will print nobody is playing round even if only 1 person doesnt have it, you should use tables.

This is not how it works you should use tables to detect if a player is still in game for example you insert all the players in the table check if the player is still alive remove the player out of the table and check if there are no players in it and then you print out whatever you wanted.