function startgame()
wait()
if game.Players.NumPlayers >= 1 then
for _, player in pairs(game.Players:GetPlayers()) do
local message = player.PlayerGui.ScreenGui.TextLabel
message.Text = "Getting The Game Ready"
wait(3)
local model = game.Lighting.Maps
local map = model:GetChildren()[math.random(1, #model:GetChildren())]
message.Text = (map.Name)
wait(2)
startgame()
end
end
end
startgame()
I don't know why this doesnt work in Server.
Hope you can help, Thanks!
