Score and saving the score as a high score.

Hi
I’m making an endless runner game (my first game). I’ve made a distance counter, recorder or whatever it’s called. And my first question is: How do I end the distance counter when my character dies? And how do I add the score as a highscore on the hud?
Thank you for taking your time answering me. :slight_smile:

  • OnCharacterDeath
  • DisableMovement
  • Disable Distance Counter(whatever you are using to increment the distance/get distance from start point)

Use UMG, Throw some text on there, bind that text, script it to get the score(wherever you are keeping that)

Thank you very much! How do I script the UMG thing?