Ok, for minigame scripts like this, dont use _G. And have you put the Maps in lighting?; If you havent done that, of course nothing will work.
and for messages, use this:
1 | msg = Instance.new( "Message" ) |
3 | msg.Parent = game.Workspace |
4 | msg.Text = "Choosing Minigame." |
Try this :D
For map pickers use this:
1 | local m = math.random( 1 , 4 ) |
3 | game.Lighting.Minigame 1 :clone().Parent = game.Workspace |
the local m = math.random(1,4) ----- This is how many minigames are in the game.
Maps must be in lighting, and be named Minigame1, Minigame2, etc.