Let us start with these options.

Now lets go to the Mind Map to enable the scoring. Click the Menu Editor button on the upper right hand side and double click World UI to open it.

I dragged 2 labels in the scene editor.

I named one label Best and the other one Score.

Now I dragged another label and placed it under Best
Scaled it to 0.6
Set Function to Score
Score Type set to Distance
Amount is set to Best

And another label and placed it under Score
Scaled it to 0.6
Set Function to Score
Score Type set to Distance
Amount is set to Current

Let see how it looks like in preview.

Alright! Now that we have the score on the left hand side, Let us try to create something similar that we can have in the Game Over UI.

And again, just like what I did above, I dragged 2 labels and named it Best: and Score:. But this time, keep in mind that I am in the Game Over UI.

Then I dragged another label and placed it after Best:
Scaled it to 0.6
Set Function to Score
Score Type set to Distance
Amount is set to Best

And another label and placed it after Score:
Scaled it to 0.6
Set Function to Score
Score Type set to Distance
Amount is set to Current

Now let check the preview.

Now the problem with this is the score does not reset when you go back and forth in different worlds. Let me show you.

To fix this we will use a Score Component and a Checkpoint.

And make sure to put a check on Reset Distance.

Now lets double click on World 1 and drag any image to the Action portion of the Buildbox wheel.

I selected the log on the left panel so I can edit its properties. I also stretched the log so our character will surely pass through it.

And then selected the check point in the tree panel so we can change the opacity to 0.

Now lets select the restart button and select Restart Checkpoint as the Function.

Now let us see the preview.

Did this answer your question?