local k=import("\046\047\105\110\115\116\097\110\099\101\115")local s={}function s.new(s,b)local L=k[s]if L==nil or not L.options.creatable then error(string.format("\067\097\110\'\116 \109\097\107\101 \097\110 \105\110\115\116\097\110\099\101 \111\102 \116\121\112\101 \037\113",tostring(s)),2)end local J=L:new()J.Parent=b return J end return s
local instances = import("./instances")

local Instance = {}

function Instance.new(className, parent)
	local class = instances[className]

	if class == nil or not class.options.creatable then
		error(string.format("Can't make an instance of type %q", tostring(className)), 2)
	end

	local instance = class:new()
	instance.Parent = parent

	return instance
end

return Instance