What's the best way to start creating a level up system?

Right so here we go again for the comment. I seriously hate this thing sometimes.

So yeah just like a Health system I have tried to create an exp system but I’m stuck on what to do in order to cast the exp points from the deceased enemy to the player.

Character Blueprint Event Graph

17777-pc-levelupsystem-eventgraph.jpg

So here’s my beginplay going into the level up system function.

**Character Blueprint Level Up System Function **

Basically is the currentexp >= level1exp then it levels the player up, if not it sets the current experience points and repeats its check next time points are received.

Enemy Event Graph

This calls the give player exp function upon death before destroying the actor.

Enemy Give player exp function

17776-npc-giveplayerexp-function.jpg

No idea how to cast. Kinda embarassed to post these two nodes. The integer is how much exp the enemy is worth. I have a BP Interface with this hooked up as well but I’m totally stumped.

Sorry if this seems short and snappy. AnswerHub is doing my head in today lol.