The reason your levels aren't going up is pretty simple:
You told the game that if the XP is greater than or equal to the XP + Level80, then it would level them up.The main thing that's wrong here is that your telling it to go up if a value is larger than itself plus something else, which will clearly never be the case (unless your adding a negative)
To fix this, you simply need to change the functions to this:
01 | function onXPChanged(player, XP, Level) |
02 | if XP.Value> = Level.Value * 80 then |
03 | Level.Value = Level.Value + 1 |
07 | function onXPChanged 2 (player, XP 2 , Level 2 ) |
08 | if XP 2. Value> = Level 2. Value * 80 then |
09 | Level 2. Value = Level 2. Value + 1 |
Anyways, the script should work correctly now. If you have any further problems/questions, please leave a comment below. Hope I helped :P