Racing placement system

Hi there!

I just was working on this racing game recently: Race Kings! - Roblox and I want to add a placement system in game, like in mario kart where they have your place in the corner while racing like 1st, 5th, 8th etc… I had an idea on how it could be possible, but I don’t really know how to implement it, it would be to get the distance each player was from the next checkpoint and then use that, but I don’t know, does anyone have any other ideas?

Perhaps you could look at this idea.