In this video I will be showing you how to make a Round System With Random Maps!
👥Roblox Group👥: https://web.roblox.com/groups/1382548...
🧱Script🧱:
Status:
while wait() do
script.Parent.Text = game.ServerScriptService.RoundSystem.Status.Value
end
RoundSystem:
local intermision = 0
local roundLength = 0
local status = script.Status
while wait() do
intermision = 10
roundLength = 10
for i = intermision, 0, -1 do
status.Value = "Game Will Start In "..i.." Seconds"
wait(1)
end
local Maps = game.ReplicatedStorage.Maps:GetChildren()
local Selected = Maps[math.random(1, #Maps)]
Selected.Parent = game.Workspace.SelectedMap
status.Value = "The Chosen Map Is "..Selected.Name
wait(3)
for i = roundLength, 0, -1 do
status.Value = "Game Will End In "..i.." Seconds"
wait(1)
end
local Map = game.Workspace.SelectedMap:GetChildren()
local Selected = Map[math.random(1,#Map)]
Selected.Parent = game.ReplicatedStorage.Maps
end