local w={}local i do i={}i.__index={Fire=function(w,i)if w.Connected then w.Function(i)end end,Disconnect=function(w)w.Connected=false end}i.new=function(...)return i.constructor(setmetatable({},i),...)end i.constructor=function(w,i)w.Function=i w.Connected=true return w end end w.Connection=i return w


local _exports = {};
local Connection;
do
	Connection = {};
	Connection.__index = {
		Fire = function(self, data)
			if self.Connected then
				self.Function(data);
			end;
		end;
		Disconnect = function(self)
			self.Connected = false;
		end;
	};
	Connection.new = function(...)
		return Connection.constructor(setmetatable({}, Connection), ...);
	end;
	Connection.constructor = function(self, Function)
		self.Function = Function;
		self.Connected = true;
		return self;
	end;
end;
_exports.Connection = Connection;
return _exports;
