function t.instance(q)assert(t.string(q))return function(U)local y,M=t.Instance(U)if not y then return false,M or""end if U.ClassName~=q then return false,string.format("\037\115 \101\120\112\101\099\116\101\100\044 \103\111\116 \037\115",q,U.ClassName)end return true end end

function t.instance(className)
	assert(t.string(className))
	return function(value)
		local instanceSuccess, instanceErrMsg = t.Instance(value)
		if not instanceSuccess then
			return false, instanceErrMsg or ""
		end

		if value.ClassName ~= className then
			return false, string.format("%s expected, got %s", className, value.ClassName)
		end

		return true
	end
end
