Ah, I see. Do you need to replicate damage this way? Usually you replicate the players health to all the clients and do all the damage related work on the server… there is really no need to replicate a “doDamage” value.
The reason I’m discussing this with you so much is because this situation sounds odd and there might be a better way to implement it.