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


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
