local playerService = game:GetService("Players")
local players = playerService:GetPlayers()
for _, player in pairs(players) do
local int = Instance.new("IntValue")
int.Name = "playersLeft"
int.Value = false
int.Parent = player
print("playersFound")
end
and my script is in serverScriptService

1 comment
on line 7 ur setting an int value to false, you cant do that. intvalues only store numbers