function Connect(r,i)return r:connect(function(...)local r={...}spawn(function()i(unpack(r))end)end)end
-- Connects a function to an event such that it fires asynchronously
function Connect(event, func)
	return event:connect(function(...)
		local a = { ... }
		spawn(function()
			func(unpack(a))
		end)
	end)
end
