I am trying to show a GUI when there is enough players here is the script:
-- Made by JoshLua COPYRIGHT 2014
local enoughplayers = game.StarterGui.wat.enoughplayers
local notenoughplayers = game.StarterGui.wat.notenoughplayers
p = game.Players:GetChildren()
playerpicked = p[math.random(1,#p)]
-- Scripting if enough players or not while true do if game.Players.NumPlayers >=4 then
wait(1) enoughplayers.Visible=true wait(5) enoughplayers.Visible=false end
end
if game.Players.NumPlayers >=3 then wait(1) notenoughplayers.Visible=true wait(5) notenoughplayers.Visible=false
end
-- Made by JoshLua COPYRIGHT 2014 local enoughplayers = game.StarterGui.wat.enoughplayers local notenoughplayers = game.StarterGui.wat.notenoughplayers p = {} for _, player in pairs(game.Players:GetPlayers()) do table.insert(p, player) end playerpicked = p[math.random(1, #p)] wait(1) enoughplayers.Visible = true wait(5) enoughplayers.Visible = false if game.Players.NumPlayers >= 3 then wait(1) notenoughplayers.Visible = true wait(5) notenoughplayers.Visible = false end