Recently I've found out that you can make keys strings, which is super helpful for a lot of things, as well as super-readable, however, table.insert doesn't seem to like strings, and only works with integers.
Example:
-- Throws an error
table.insert(table, "key", variable)
-- Works fine
table.insert(table, 1, variable)

1 comment
So we assume that table["key"] is another table, since im inserting into it, and it has pre-existing data so = doesn't work, I solved this by doing table.insert(table["key"], variable), sorry I didn't make that obvious. However since I've got it solved, I'll mark this as correct, thank you.