When I test it my graphical user interface (GUI) doesn't show... It gets stuck at the "if game.Players.NumPlayers => 4" OR "if game.Players.NumPlayers =<3" here's the script:
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