How can I create a local scoreboard for my game?

I followed [this tutorial][1] to create a saved game file but am unsure how to create a local scoreboard to read and display the player’s initials and score. I’m trying to make something that looks like this:

Thanks for your help!

have you got a solution for this problem because i want to implement the same in my game