local c={}function c.new(...)local c={...}local A=nil local p=false if c[1]and(pcall(function()p=c[1]:IsA("\066\097\115\101\080\097\114\116")end)and p)then A=CreateRegionFromPart(c[1])else A=CreateRegion(c[1],c[3],c[2])end return A end return c
--////////--
--The Meat--
--////////--

local Region = {}

function Region.new(...)
	local args = { ... }
	local Object = nil
	local isBasePart = false
	if args[1] and pcall(function()
		isBasePart = args[1]:IsA("BasePart")
	end) and isBasePart then
		Object = CreateRegionFromPart(args[1])
	else
		Object = CreateRegion(args[1], args[3], args[2])
	end
	return Object
end

return Region
