i wrote this down
first = workspace["default area"].SpawnLocation
regendef = workspace.Grids.three
function plateclone(xdemand,zdemand)
for xrod = 0, xdemand, 1 do
third = regendef:Clone()
third.Anchored = true
third.Position = first.Position + Vector3.new(0,0,xdemand)
for zrod = 0, zdemand, 1 do
task.wait(0.1)
second = regendef:Clone()
second.Parent = workspace.map
second.Anchored = true
second.Position = first.Position
second.Position = second.Position + Vector3.new(1*zdemand,0,0)
end
end
end
plateclone(10,10)
``` but it not doing what i wanted