Multiplayer client cant call take damage function but server can

Would i have to do something with the damageEvent