|
| 24 Jun 2014 09:21 AM |
minigames = game.Lighting.Minigames:GetChildren()
h = Instance.new("Hint", game.Workspace)
while true do
if game.Players.NumPlayers > 1 then h.Text = "Deciding what minigame to play" wait(3) ranGame = math.random(1, #Minigames) gameChosen = minigames[ranGame] h.Text = "Minigame Chosen: " .. gameChosen.Name wait(3) gameChosenClone = gameChosen:Clone() gameChosenClone.Parent = game.Workspace --Countdown until the game ends for i = 10, 1, -1 do h.Text = "Time left: " .. i wait(1) end h.Text = "Game ended!" wait(3) gameChosenClone:Destroy() else h.Text = "There needs to be more than 1 player to start" end wait(1)
end
This is a minigame Just 1 till now but it wont work It will get stuck at "Choosing Minigame" Please help |
|
|
| Report Abuse |
|
|
| |
|
Devoi
|
  |
| Joined: 09 Jun 2013 |
| Total Posts: 5387 |
|
|
| 24 Jun 2014 09:49 AM |
Change the minigames variable to Minigames at the top. For further note, don't come here asking for help please. |
|
|
| Report Abuse |
|
|
morash
|
  |
| Joined: 22 May 2010 |
| Total Posts: 5834 |
|
|
| 24 Jun 2014 12:24 PM |
| Just delete the entire thing and it will run error free. |
|
|
| Report Abuse |
|
|
| |
|