I looked it up recently and what I read said that datastores cannot store metatables. Is there anything that I can substitute in a way that wont break my script? By the way I am only saving a list of numbers. Could someone help me out please? Thanks!
save the metatable as a table, meaning you save 2 tables, one is the actual table, the second one is the metatable
{ Table = { 1, "hello", 123.45 } Table_Meta = { __add = function(a, b) warn("foo") return 123 end, __index = error("no") } }