BattleTank - Displaying health on Player UI instead of using the health bar?

Through some searching around if fould a solution (Thanks to this post and the reply by @Leonardo_Vici: Health Bar directly in player UI ), I did something similar in the PlayerController C++ to set a tank variable for the UI BP. Don’t know if it’s the best/right way, but it works.