MapsWeLove = {"map1","map2","map3"} -- Put any maps but atleast 2, else it's pointless to do random. HoursToWait = math.Rand(1.9,2.1) -- Hours to wait to switch timer.Simple(60*60*HourWait, function () local tbl = table.Copy(MapsWeLove) local curMap = game.GetMap() for k, v in pairs(tbl) do if v == curMap then table.remove(tbl, k) break end end local maptochangeto = tbl[math.random(1,#tbl)] Msg("Server performing random map change to "..maptochangeto.."!\n") game.ConsoleCommand("changelevel "..maptochangeto.."\n") end)