I apologize if my title question was hard to grasp.
I haven’t tried it yet as I’m still coding to this point, but before I start this I wanted to ask if it’s possible to create a metatable in one module (with fields and methods) and update it in a different module?
An example of a case: I want to send a table type field from and using my metatable “self.playersContributed” and update it in a different module. But I want the updated data to contribute the original module’s metatable.
If I were to try this now I’d first try to use a return for the metatable and set the original metatable to it, but I have concerns with this such as methods potentially no longer saved to it.
OriginalModule metatable = OtherModule:UpdateData(metatable)
; → return the same metatable after it’s been updated.
Would anything like this work? Or is it not possible on roblox?
I do apologize again on not explaining well, as my head has felt very drowsy the last few days.