Boolean? It prints an int

it is solved thx :slight_smile: have a nice day!

You’re doing

not xp.Value

Which evaluates to a boolean, then comparing it to nxlLvlExp, which is a number.

Wrap them in parenthesis.

“not” negates any non-false value into the boolean “false”, therefore you are indeed comparing a bool and int

Oh yeah lol I thought I deleted the not :_:

Nice console input, did you mean to do that?

uh hehehe we don’t need to talk about that ;-;