How to check all players boolvalues?

Basically, my script gives a player a boolvalue once they join the game; how can I check this boolvalue later on in the script? This is my attempt at checking all players boolvalues

local playersplaying = {}
for i, player in pairs(game.Players:GetPlayers()) do
	if player.Inround == true then
		table.insert(playersplaying, player)
	end
end

If you make that BoolValue as an Instance and set its parent to the player then you should be using player.Inround.Value instead of just player.Inround.

what a dumb mistake on my part LOL

tysm!!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.