function Signal.Connect(g,l)if not(type(l)=="\102\117\110\099\116\105\111\110")then error(("\099\111\110\110\101\099\116\040\037\115\041"):format(typeof(l)),2)end return g._bindableEvent.Event:Connect(function()if g._argData~=nil and g._argCount~=nil then l(unpack(g._argData,1,g._argCount))end end)end

function Signal:Connect(handler)
	if not (type(handler) == "function") then
		error(("connect(%s)"):format(typeof(handler)), 2)
	end

	return self._bindableEvent.Event:Connect(function()
		if self._argData ~= nil and self._argCount ~= nil then
			handler(unpack(self._argData, 1, self._argCount))
		end
	end)
end
