local block = – Your block
local blockSize = block.Size
local xSize, ySize, zSize = blockSize.X, blockSize.Y, blockSize.Z
print(“X size of the block:”, xSize)
print(“Y size of the block:”, ySize)
print(“Z size of the block:”, zSize)
or more like …
This is x,y and z. Probably don’t need all 3 in this case to be /2.
local block = – your block
local position = – the position it’s going to
local blockSize = block.Size
local xOffset = blockSize.X / 2
local yOffset = blockSize.Y / 2
local zOffset = blockSize.Z / 2
block.Position = position - Vector3.new(xOffset, yOffset, zOffset)
I’m not sure what all you’re doing. But the blocks should fit inside your border flush to start with by whatever amount of movement. You may want to change your boarder a bit.
You said it’s starting dead center, so it is already placed at a 1/2 way point vs size.