Using MLAPI, how would I implement a score system per client?

I followed the setup tutorial for MLAPI and I got it to work with the connections. I can now join a game with multiple clients. I want to implement a score system.

Right now Ive made a singleton gameobject which holds a score value. At first I thought this score would be different for each client (which it isnt), so all clients are sharing the same score. Next I gave every player a score attribute. Now each player has its own score, but the issue is that whenever a player leaves the game, this score disappears.

I want each client to have a score which they can improve each game (like a money system). Where would I save this attribute to make this work.

PS: The player object gets destroyed after a game.

Using PlayFab API and storing a value in the users data is the best way.
You can use the CustomID login, they have example code, and then set a key value pair of whatever name you want and save it. Read from that value at startup, each time after login.
You can also serialize/deserialize your own class to json and store it since the key value pairs take strings, which is what most people do.