local function r(r)local X={}local v,V=r.CFrame,r.Size/2 for r=-1,1,2 do for I=-1,1,2 do for J=-1,1,2 do table.insert(X,v*(V*Vector3.new(r,I,J)))end end end return X end
--

local function getCorners(part)
	local corners = {}
	local cf, size2 = part.CFrame, part.Size / 2
	for x = -1, 1, 2 do
		for y = -1, 1, 2 do
			for z = -1, 1, 2 do
				table.insert(corners, cf * (size2 * Vector3.new(x, y, z)))
			end
		end
	end
	return corners
end
