How to make an endless score progress bar (like helix jump)

Hi there,
I’m new to c# and unity ,I made an endless bouncing game , I want to add a score bar like helix jump , when the play hits the platform and gets a +1, the bar fills a litle bit … and when he gets 100 points , the bar will be empty , and it writes on the right : Level 2 ,and in the left : Level 1 (just like helix jump) . . you can see it in the picture down below.
there are no levels in the game , it’s endless , but I want to make each 100 points you get is a level …
if you lose : you won’t lose your progress …

(it’s a 2d hypercasual game)
any help please ?
thanks

Make a progress bar that fills based on the next range of values. This should be fairly simple with 100 points / level. A more generic approach is also fairly easy to implement.

Suppose you need to display the progress for a score of a per-level-total of n points. x is the current score (not the total, but within that level). You’ll receive the fiill-value calculating (1 / n) * x. Note that the result of the division must be a float.

Examples:
Level 1 requires a score of 10: (1 / 10) * x. Sample score of 8: (1 / 10) * 8 = 0.80. The bar is 80% filled.
Level 2 requires a score of 50: (1 / 50) * x. Sample score of 35: (1 / 50) * 35 = 0.70. The bar is 70% filled.
Level 3 requires a score of 400: (1 / 400) * x. Sample score of 127: (1 / 400) * 127 = 0.3175. The bar is 31.75 % filled.

You get the idea. You always want to normalize the current score value (per level) based on the current range, i.e. produce a floating point value between 0.00 and 1.00.

The rest is quite easy. Track the current level. Also keep track of the current score for the level and the total score for the run.

oh , I get it now .
Thank you so much for your help