the guis text is not changing
local players, plrnum
game.Players.PlayerAdded:Connect(function()
players = game.Players:GetChildren()
plrnum = #players
script.Parent.Text = "Players in server: "..plrnum.."/2"
if plrnum >= 2 then
script.Parent.Text = "Enough players"
wait(1)
script.Parent.TextTransparency = 1
game.ReplicatedStorage.InfoText:SetAttribute("EnoughPlayers",true)
end
end)