local CountTable = {}; CountTable.Count = 0; function CountTable:new(Index) if Index == nil then Index = 0; end return setmetatable( { Count = Index; }, { __metatable = self, __index = self, }); end function CountTable:Add() self.Count = self.Count + 1; return self.Count; end function CountTable:Get() return self.Count; end return CountTable;