Remix.run Logo
kragen 4 days ago

Well, you can inherit in Lua, right? In http://lua-users.org/wiki/InheritanceTutorial it's just

    setmetatable(new_class, {__index = base_class})
because __index can be a table; it doesn't have to be a function.

I've never tried Roblox, so I have no idea how often people do such things in it.