I want to loop this script like make it work over and over again but it wont. I need help
local m = Instance.new("Message")
while (true) do
wait(180)
game.Workspace.Map1:Destroy()
local mep = game.ServerStorage.Map2:Clone()
m.Parent = game.Workspace
m.Text = "Loading Map: Spooky"
wait(2)
mep.Parent = game.Workspace
m:Remove()
wait(180)
game.Workspace.Map2:Destroy()
local mep = game.ServerStorage.Map1:Clone()
m.Parent = game.Workspace
m.Text = "Loading Map: Lemon Town"
wait(2)
mep.Parent = game.Workspace
m:Remove()
wait(180)
end

6 comments
errors?
no
what doesn’t work?
i want it to loop
it doesn’t loop?
NO