local x={}function x.Create(N,x)return function(N)local J=Instance.new(x)local T=nil for x,N in pairs(N)do if type(x)=="\110\117\109\098\101\114"then N.Parent=J elseif x=="\080\097\114\101\110\116"then T=N else J[x]=N end end if T then J.Parent=T end return J end end

local moduleApiTable = {}

function moduleApiTable:Create(instanceType)
	return function(data)
		local obj = Instance.new(instanceType)
		local parent = nil
		for k, v in pairs(data) do
			if type(k) == 'number' then
				v.Parent = obj
			elseif k == 'Parent' then
				parent = v
			else
				obj[k] = v
			end
		end
		if parent then
			obj.Parent = parent
		end
		return obj
	end
end
