Try something like this:
m = Instance.new('Message', workspace)
h = Instance.new('Hint', workspace)
sword = game.ServerStorage.ClassicSword
num = math.random(1,1)
map = game.Lighting.SF:Clone()
while true do
wait(1)
for i = 5, 1, -1 do
h.Text = "Choosing map in: "..i
wait(1)
end
h:Remove()
if num == 1 then
h = Instance.new('Hint', workspace)
m.Text = "Map Number "..num.." Has Been Chosen!"
wait(3)
m.Text = "[Map name/creator]"
wait(3)
m.Text = "[Instructions]"
wait(3)
m:Remove()
h.Text = "Loading Map..."
wait(5)
h:Remove()
map.Parent = game.Workspace
map.Name = "Map"
map:MakeJoints()
wait(2)
target = Vector3.new(0, 0, 0) --Ok so put your co-ordinates for where you want your players to go..
for i, v in pairs(game.Players:GetChildren()) do
v.Character.Torso.CFrame = CFrame.new(target + Vector3.new(0, i * 5, 0)) --add an offset of 5 for each character
for i, player in ipairs(game.Players:GetPlayers()) do
game.ServerStorage.[Tool]().Parent = player.Backpack
end
end
m = Instance.new('Message', workspace)
h = Instance.new('Hint', workspace)
m.Text = "3"
wait(1)
m.Text = "2"
wait(1)
m.Text = "1"
wait(1)
m.Text = "Begin!"
wait(1)
m:Remove()
end
for i = 60, 1, -1 do
h.Text = "Round ends in: "..i
wait(1)
end
h.Text = "The round is over."
wait(1)
map:Remove()
wait(5)
end
for i = 15, 1, -1 do
h.Text = "Intermission: "..i
wait(1)
end
m:Remove()
h:Remove()
m = Instance.new('Message', workspace)
h = Instance.new('Hint', workspace)
~EternallySpeedy~ |