function Signal.Connect(h,Z)local S=Connection.new(h,Z)if h._handlerListHead then S._next=h._handlerListHead h._handlerListHead=S else h._handlerListHead=S end return S end

function Signal:Connect(fn)
	local connection = Connection.new(self, fn)
	if self._handlerListHead then
		connection._next = self._handlerListHead
		self._handlerListHead = connection
	else
		self._handlerListHead = connection
	end
	return connection
end
