Maintaining score between levels

A good way to pass information between levels is to use the GameInstance class. You need to create your own GameInstance blueprint and then change the project settings to use it. The GameInstance is an object that exists as long as your game is running so you can set some variables there and retrieve them at any point in your code using the Get Game Instance node and casting it to your own game instance class.

My explanation is probably missing some stuff so here is link with a good example on this topic.

Hope this helps