local class = {}
class.__index = class
function class.new(root)
local new = setmetatable({}, class)
new.root = root
new.ActiveMenu = nil
return new
end
return class
it was working but now it doesnt add anything i add under the metatable named “new” to the class, sorry if i am being vague i am not really good at explaining