local randomselect = math.random(-2, 2) if (randomselect == -2) then fortessx = 1000 fortressy = 200 elseif (randomselect == -1) then fortressx = 5000 fortressy = 6000 elseif etc etc