when I play as a client, the enemy's life does not change.

Could anyone help me with this problem? I did a small project and it’s the first time I’ve tried to do multiplayer, could you tell me if there’s something wrong? When I play as a server, the enemy’s life for the client can be changed, but when I play as a client, the enemy’s life does not change.

video showing the problem