Is there a way to update locally changed values to the server value

so I have slow moving projectiles and to make the combat the delay I made some damage visuals on the client, them i’m going to do the actual damage on the server then I want to update the clients health to the actual health.