Custom playerlist not working with leaderstats

So I made a custom playerlist and when ive tried to add values from leaderstats to go under the players name it doesnt work.

I remember the first time I loaded in the gold value did actually work, but never again

This is what it shows in game: (i dont even know where the 10 comes from)
image

This is the code: (kills,wins.gold etc all right spelling/caps)

Is the issue that you’re expecting the values (kills, wins etc.) to be non-zero, but they aren’t? How do the leaderstats values themselves get updated?

Yes thats the problem, the actual leaderstats arent 0s nor is the gold value 10 yet thats how they show up

I think the problem is to do with the leaderstat values themselves, then. Do they values get updated on the server or the client? Code from the script that updates them would be helpful.

all the leaderstats are updated on the server

Although I have found where the 10 comes from:
image

This is how the data is loaded:
image

Though I dont understand why the playerlist gui shows the 10 as if it hasnt updated from the loaded in player data (maybe I should add a wait?) while another gui which shows the users gold works fine:
image

image

Is the gold on the leaderboard set before or after the value of gold is updated to the actual value (483)?

theyre both in different scripts

Where does add() get called in the script to update the leaderboard?