I have posted screenshots + GIF below. But basically, I have countEXP global variable, and it is set to 0 when the player levels up.
I have got when exp=>100, it'll level up to 2. I have done it all the way to level 3, and when at level 3, the countEXP starts from 0 and increases past 100, at which point it goes back to level 2.
Is there a way around this?
The events for the making of the exp bar:
The events for the leveling up:
And the GIF of the problem:
(As you can see, level 2 to level 3 works fine. But of course because the countEXP gets set to 0 at start of new level(level3), it counts in 15 from 0, until it becomes =>100, which turns level 3 back to level 2.
Thanks in advance.