So, I'm trying to make it so you have an overall experience, and you level up whenever that hits a certain point(that I set for each)
For example:
Rank 1 - hit 0 XP(obviously) Rank 2 -100 XP Rank 3 -250 XP rank 4 - 750 XP
I tried something like this:
if xp.Value <= 0 then
if xp.Value <=100 then
--code
else
--level 0?
end
end

1 comment
If you mean what the script is doing is that for LINE 1: Checking if the XP is greater than or equal to 0 so no negative numbers come in-tact, LINE 2: Checking if the XP is greater than 100 which would mean you pass LEVEL 1 i'm guessing, LINE 5: I don't see a point towards the else, unless you want it to do something if it's NOT that amount of XP.