First, I was thinking about making randomly generated buildings across my map, but I realized that I could make this easier by putting them on plots. Either way, I came across the same problem. Using MoveTo() accurately. Whenever I used the MoveTo() function, one edge of the building was in the middle of the landplot. How can I make it so the whole model is centered and on top of the landplot? Here's my script.
Plot = script.Parent
Land = Plot.Land
Buildings = game.Lighting:GetChildren()
Structure = math.random(1, #Buildings)
for i, v in pairs(Buildings) do
if i == Structure then
Structure = v
end
end
Building = Structure:Clone()
Offset = Building:FindFirstChild("Size")
if not Offset then error("Not a functioning building") end
Building.Parent = Plot
Building:MakeJoints()
OffsetX = Offset.Size.x
OffsetZ = Offset.Size.z
Offset:remove()
Building:MoveTo(Vector3.new((Land.Position.x-OffsetX/2),0,(Land.Position.z-OffsetZ/2)))--My attempt at centering the model.

3 comments
Well, the thing is that I'm not sure this would work for multiple buildings of different sizes.
Hm, that's true. I'll update my answer if I learn more about MoveTo.
Please, actually give an example on how to do this like a code snippit.