I dont get a error either

Status = game:GetService("ReplicatedStorage").Status
games = game:GetService("ReplicatedStorage").Games:GetChildren()



function GameLoop()
	local count = 10
	while count ~= -1 do
		Status.Value = "Intermission("..count..")"
		wait(1)
		count = count - 1
	end
	wait(1)
	Status.Value = "Selecting Game."
	wait(1)
	Status.Value = "Selecting Game.."
	wait(1)
	Status.Value = "Selecting Game..."
	wait(1)
	local num = math.random(1, #games)
	local gameChosen = games[num]
	local CurrentGame = gameChosen:Clone()
	CurrentGame.Parent = workspace
end

GameLoop()

4 comments

0

You asked the exact same thing earlier...

0

nobody is helping me so I gave them the full code

0

instead of using a while loop try to use a for loop instead

0

not an answer, just a helpful comment