Regenerating Energy Like Causal Mobile Games

Hi guys, i need your help with my energy system.
Now have a system with energy and consume 5 points of energy to enter the game… this logic work fine, but the problem is the regeneration every 15 min. The idea is recover 5 points every 15 mins and if you have 0 energy can buy more with real money.
But here the problem… For make that need use something like PlayFab with blueprint but all the examples are maked on Unity or Java. Im test the example on Java and work like expect but i dont know the way to make that on Unreal with blueprint.

Here the example: Regenerating Energy with PlayFab

Any idea or another way to do that?

Thx

Resolved using Playfab over the GameInstance and making events to substract and add energy…