Hi, I have always wanted to know how I could add values into the player’s existing data like so:
_G.PlayerData[player.Name] = { ["Power"] = datastore2("power", player):Get(0); ["Gems"] = datastore2("gems", player):Get(0); }
I want to know how to overwrite the player data which looks like above, into this:
_G.PlayerData[player.Name] = { ["Power"] = datastore2("power", player):Get(0); ["Gems"] = datastore2("gems", player):Get(0); ["Pets"] = datastore2("pets", player):Get({}) }
If anybody knows can you please help me, thanks