This a little part of the script (Max level 250)
My problem is well their is one little problem, it works but when it reach level 2 it resets to -100 and i need to be 0
1l = 100xp
reset to -100 need be 0 i tried to change (LevelStat.Value*100)
to (LevelStat.Value=0)
but then the xp system is broken
2l = 200xp
if LevelStat.Value < MaxLevel then if Stat.Value >= LevelStat.Value*100 then LevelStat.Value = LevelStat.Value + 1 Stat.Value = Stat.Value - (LevelStat.Value*100) end end
thank you.