This is what i have did
local maps = game.ReplicatedStorage local Weapon = game.Lighting while true do repeat wait(10) lobbymsg = Instance.new ("Message") lobbymsg.text = ("3 Players or more is required to play this game") lobbymsg.Parent = Workspace lobbymsg:remove() until game.Player:GetPlayers() if players > 2 then gamemsg = Instance.new ("Message") gamemsg = ("Choosing Maps") Maps =#(math.random(1,2)
what do i do next ? `
Call the maps in ReplicatedStorage like Map1 Map2 Map3.... Then do this:
while true do wait() local Weapon = game.Lighting local MapAmount = 2 -- Change to how many maps you got repeat wait(1) lobbymsg = Instance.new ("Message") lobbymsg.Text = ("3 Players or more is required to play this game") lobbymsg.Parent = game.Workspace lobbymsg:Remove() until #game.Players:GetChildren() >= 3 gamemsg = Instance.new ("Message") gamemsg.Text = ("Choosing Maps") Map = game.ReplicatedStorage:FindFirstChild("Map"..(math.random(1, MapAmount))):Clone() Map.Parent = game.Workspace wait(60) -- Change to how long one map lasts Map:Remove() end
Someone did say to use a free model, and I happen to have a map changing script that determines who wins and who loses: http://www.roblox.com/Multi-Map-Team-Death-Match-Script-READ-DESC-item?id=84179810
It may take a little bit of time to figure out everything that is in the script.