LeaderBoard & Calculate Score

I am developing a game with a friend using UE5.1 and we are encountering issues with the UI and some aspects of the leaderboard.
We have researched a lot of information but still have some unresolved issues.
If there is any lack of explanation, please let us know.
We would appreciate any advice you can provide. Thank you.

↓This is where the player inputs their name at the beginning of the game.

↓This is the function that updates the score during gameplay.

↓This is where the final score is updated at the game over (Result) screen.

↓This is the calculation and saving of the final score.

↓This is the leaderboard button on the screen, which retrieves and sorts the initially entered names and scores from the save data.

↓This is the calculation method within the leaderboard.

  1. Currently, I have a problem where I have written the UpdateScore function in the enemy blueprint as shown below, but the score is not updating.

  2. The initially entered name and the final score are not being automatically passed to the leaderboard through addDate.

I would appreciate your help in resolving these issues.
Thank you.

Lots of stuff here, I’d narrow it down a bit with breakpoints to see where the data flows and what does not trigger. Step through it with the debugger.


Apart from that, this:

is not saving anything, not sure if this bit is vital.