How do I include the rotation of the CFrame on Region3

	assert(material, "No material specified")
	assert(targetMaterial, "No target material specified")

	-- Reset plot terrain
	local cfr, size = self.Object.CFrame, self.Object.Size
	local ratio = 25
	size = size + Vector3.new(ratio, ratio, ratio)

	local bottom = cfr - (size / 2)
	local upper = cfr + (size / 2)
	local region = Region3.new(bottom:PointToWorldSpace(), upper:PointToWorldSpace()):ExpandToGrid(4)

	Workspace.Terrain:ReplaceMaterial(region, 4, material, targetMaterial)

I’m really not sure of how I would be able to get the position of the CFrame when it’s rotation is not set to 0, 0, 0.

Never mind I’ll just get the corner instead:

local function GetCorners(cframe: CFrame, size: Vector3): Vector3
	local frontCenter = (cframe + cframe.LookVector * size.Z / 2)
	local backCenter = (cframe - cframe.LookVector * size.Z / 2)

	local min = (frontCenter + frontCenter.RightVector * size.X / 2):PointToWorldSpace()
	local max = (backCenter - backCenter.RightVector * size.X/2):PointToWorldSpace()

	return min , max
end