Healthbar, League of Legend / MOBA style

Hello, I am having some issues understanding UE4’s Widget Blueprint and I need your help. I have a working healthbar and all I need to do to complete it is to add some black lines to the progress bar depending on the HP max of the character that own the widget. The final result should look like this depending on the HP of the character.

I did some research and found some help but it was for Unity. The thing is that I followed what the guy said to calculate the offset but I have totally no idea on how to proceed to trace the black lines. Please help me.

Hi man,
you can try making a special material, with masks , here some stuff to check
https://forums.unrealengine.com/development-discussion/content-creation/24521-umg-help-with-masked-progress-bar-health-bar

Or you can simply put in a horizontal box, some images for the Colored part, and the black part,