Edited for better system..
local towns = {7, 5, 4, 2, 6, 3, 1}
local currentTown = 1
function onThink(interval, lastExecution, thinkInterval)
if getPlayersOnline() > 30 then
if getGlobalStorageValue(currentmap) == 0 then
local temple = towns[1]
elseif getGlobalStorageValue(currentmap)...