Declaring Multiple Tables

Hi there, I want to declare multiple tables as part of a player’s meta table, so I was wondering how can I do this?

pl.what = {vars={},flags={},etc={},}

Just use table.Add to turn the multiple tables into one table and use that as the metatable. Make sure you add these to the player’s original metatable.

Or if you want to apply it to the entire metatable:

local meta = FindMetaTable"Player"

meta.what={a={},b={}}

Edit: Automerge…

You can’t declare tables on a metatable, all the players will end up sharing the same one (IIRC), since they’re passed by reference.