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.