Ahh, I see.
Cool cool, looking forward to it!
If you’re going to be making an Experience bar, here’s something to note: plyGame experience doesn’t reset to 0 when you level up.
Let’s say you need 100 exp to get to level 2, and you need 200 exp to get to level 3…
If you were to use the blocks…
and you get 100 experience, your Player’s level will increase to level 2, but your Experience bar will already be halfway filled again.
The bar doesn’t visually reset to zero, because in the example above, it’s just doing EXP / EXP NEEDED.
100 / 200 = .5
You would instead need to use the blocks…
Set Image.fillAmount to [A/B]
Set Image.fillAmount to [[A-B] / [A-B]]
(Value Experience - ExpNeededToLevel) / (ExpNeededToLevel+1 - ExpNeededToLevel)
(Below is a screenshot. It’s just one line, I cut it in half because it got too long ><)
edit: I’ll double check the Blox above after work, I’m doing the math on paper and now that I think about it, I’m not sure that formula is correct.
edit: Yeah, works.