I’m kinda getting a deja-vu moment here. I’ve a simular question also with a game that involves a player dodging cars and the question being on how to implement a scoring system with a hard cap…
The issue in this post was the saved coordinates of the pedestrian not matching up with the sprites coordinates. It was this thread: