OOP in Lua, elaborate

So when ModuleScripts were first released back in 2016 or whenever it was, I thought, ‘oh epic, the ability to write scripts that can be used by other scripts’

One of these uses is creating object classes.
I know the basics, like that constructor on that lua tutorial website and dictionaries

My question is: how do you do the more complex parts of OOP such as metamethods and inheritance


I’ll never stop recommending this thread. It covers what you’re asking perfectly: