maps = game.Lighting.Minigames:GetChildren() h = Instance.new("Hint", game.Workspace) while true do if game.Players.NumPlayers > 1 then h.Text = "Deciding what map to choose" wait(4) ranGame = math.random(1, #maps) gameChosen = maps [ranGame] h.Text = "Minigame chosen: " .. gameChosen.Name wait(3) gameChosenClone = gameChosen:Clone() gameChosenClone.Parent = game.Workspace --Countdown until the game ends for i = 40, 1, -1 do h.Text = "Time left: " .. i wait(1) end h.Text = "Game ended!" wait(10) gameChosenClone:Destroy() else h.Text = "There needs to be more than 1 player to start" end wait(1) end?
I've placed 3 maps in a model in the Lighting folder. This should select them at random. No "hints appear at the top of my screen when playing. Nothing happens. Why is that? I know I didn't add a teleporter. I'll do that later.