`` while true do --This makes sure it keeps going and doesn't die out on us wait(5) --This is how long until the games are started. Recomended that you keep to 5 local m = math.random(1,7) --This randomly selects a game. The five shows how many games there are local player = game.Players:GetPlayers() for i = 1, #player do --This checks for players and gets them msg = Instance.new("Message") --This make the annoying messages that appear on you screen msg.Parent = nil --This identifies the game if m == 1 then msg.Parent = game.Workspace --This makes sure it says and appears in the workspace msg.Text = "Choosing Minigame..." --A bunch of messages to tell you that the game is starting which you can change if desired wait(4) msg.Text = "Minigame Choosen Is: Sword Fight!" wait(3) msg.Text = "This Is A Simple Game..." wait(3) msg.Text = "Kill Eacth Other" wait(3) msg.Text = "Begin!" wait(3) player[i].Character:MoveTo(Vector3.new(-215.5, 69.6, 21.7)) --this teleports the player were you want them to be teleported! read the wiki for help msg:remove() --This removes the annoying messages Don't mess with! game.Lighting.Minigame1:clone().Parent = game.Workspace -- make a minigame then name it just like this: Minigame1 once it is named that put it in the position on the map were you want it to go then put the model in lighting game.Lighting.Sword:clone().Parent = player[i].Backpack --This puts it in the player's nifty backpack wait(10) --How long the game lasts msg.Parent = game.Workspace msg.Text = "Winner(s)!" wait(3) msg:remove() game.Workspace.Minigame1:Remove() --Removes the brick so all players die (except spectators) and removes the brick so a new game can start (recommended games aren't over 5 minutes so spectators aren't bored) end~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~