I have a level system but it has a Max Exp (100) and when the normal exp reaches that (Max) it restarts, for example if I give it 5 M of exp it would only go up 1 level, how would I fix that?
Well wherever in the script 100 exp is being exchanged for 1 level you’ll need to increase that limit.
Can we see the script so we know what to fix?
I’ll leave this one in your hands, good luck.
I think OP is asking for EXP to carry over. For example:
If level 1 requires 100 EXP and level 2 required 150, if you gained 300 EXP you should hit level 3 with 50 EXP left over.
And to do that, in your level function you’d need to do something like this:
-- Assuming this happened when you gained EXP:
EXP += GainedEXP
if EXP >= MaxEXP then
local remainder = EXP - MaxEXP
-- remainder carries over ^
Level += 1
EXP = 0
MaxEXP = (Level*100 + (Level*10)/2) -- whatever you usually have it as
EXP += remainder
end
And it’s best to put this in some kind of loop, so it checks over and over to see if they have enough EXP to level up, I only gave an example.
Thank you very much! Thank you very much! I’ve been searching a lot for this
Thanks for helping on this issue too
I already solved it thank you very much for helping too