How can i make a floating health bar on enemy?

Hello everyone. i followed this guide and although the health bar rotation works like a charm, i cant figure out how to apply damage and affect the health bar. if anyone has got it right and can help with the blueprints that would be great.