That may be because your AddDistance event doesn’t get called if you die? You need to set the Run variable when you die before you change the TotalDistanceTravelled (i guess you reset this one if you die).
You could for example make a “OnDeath” event where you set the run variable.