use variable events is how I would do it. Make it so when you do whatever, it adds X exp to a variable named something like "Exp" (duh). Then, I would make a level-up brick, because I don't know how else (maybe relays?). On the level brick, do something like:
-Onactivate-Self-IfVariable-Player-EXP-GreaterEqualsEquals-[10]
-VariableTrue-Client-CenterPrint-[You leveled up!]
Then you'de also need one for the gaining of EXP. Something like this.
(For say, a tree and cutting EXP) These would be on the tree:
-OnProjectileHit-Projectile-IfProjectile-AutoAxe Slice
-VariableTrue-Self-FakeKillBrick [30]
-VariableTrue-Player-AddVariable [expCutting] [1]
Then do different Level Up bricks and on them, put:
-Onactivate-Self-Ifvariable-Player [expCutting] >= [number]
-VariableTrue-Client-Centerprint-[You Leveled Up!]
-VariableFalse-Client-Centerprin-[You Need More EXP to Level Up!
And you could also do a Level Variable if you want. Hope this will give you and idea of how to use variables, if you don't already know. Sorry for bumping, if I shouldn't have.