Hey!

So I have a script that makes a small map but for my world I need 50 times that chunk. So how would I adjust my script so chunks will load when the player moves in that direction?

This is the map script:

```
local Part = Instance.new("Part") --For cloning
Part.Anchored = true
Part.FormFactor = "Custom"
Part.Size = Vector3.new(1.5,5,1.5)
Part.TopSurface = "Smooth"
local spawnpoint = Instance.new("SpawnLocation")
local seed = math.random(1, 1000)
local frequency = 4
local power = 3
local resolution = 50
for x = 1, resolution do
for z = 1, resolution do
local y1 = math.noise(
(x*frequency)/resolution,
(z*frequency)/resolution,
seed
)
local y2 = math.noise(
(x*frequency*.125)/resolution,
(z*frequency*.125)/resolution,
seed
)
local y3 = math.noise(
(x*frequency*4)/resolution,
(z*frequency*4)/resolution,
seed
)
local y = (y1*y2*power*power)+y3
local Part = Part:Clone()
Part.Parent = game.Workspace
Part.CFrame = CFrame.new(x,y,z)
spawnpoint.Position = Part.Position
Part.BrickColor = BrickColor.Green()
--[[if math.abs(y2) < .1 then
Part.BrickColor = BrickColor.Green()
elseif math.abs(y2) > .25 then
Part.BrickColor = BrickColor.Red()
else
Part.BrickColor = BrickColor.Blue()
end]]
end
end
```

Thanks in advanced!