Ok so im trying to make a script that starts off in a lobby then teleports the players to a obby then after you touch a brick at the end of the obby it respawns you and you win but i cant figure it out! Help
maps = {"Awesome map"}
intermission = 25
timebeforeroundstarts = 5
timelimit = 55
--MainPart--
function m(update)
c = game.Players:GetChildren()
for i=1, #c do
c[i].PlayerGui.InformationGui.loltext.Text = "" .. update
end
end
while true do
wait(1)
for i=1, intermission do
m("Intermission: " .. intermission - i)
wait(1)
end
gtl = game.Players:GetChildren()
for i=1, #gtl do
gtl[i].Playing.Value = true
end
mapnum = #maps
map = maps[mapnum]
game.Lighting[map]:Clone().Parent = workspace
m("Choosing a random Obby")
wait(3)
m("The chosen Round was " .. map)
wait(2)
for i=1, timebeforeroundstarts do
m("The round will start in: " .. timebeforeroundstarts -i)
wait(1)
end
end

1 comment
Can you please be more specific on what isnt working(we will not fix your code until you make a legit attempt). And it would also be helpful if you could show the parts of code giving you error vs. just pasting the entire script.