floats vs integers for health system

It doesn’t seem to be working. I don’t know if I may be doing this wrong though. The Damage Player function is in a library, while the regen function is in the character blueprint. Is this the right way to do it, or should I be doing everything in the library? The reason I ask is because the bIsRegenerating is in the third person blueprint, but not the function library. Making a replica doesn’t seem to be doing anything.

Here is the damage player function, which is in the player function library:

782531a352d6bd13b4badd42818922aae965006b.jpeg

And here is the health regen function in the character blueprint: