Create a StatsComponent
Create a Blueprint Class from the StatsComponent class.

Add it to your Actor's components.

note
In this image, I'm adding the StatsComponent I created "BP_StatsComponent" to my Character class "MyCharacter".
Create a Blueprint Class from the StatsComponent class.
Add it to your Actor's components.
In this image, I'm adding the StatsComponent I created "BP_StatsComponent" to my Character class "MyCharacter".