Camera shake not working for multiplayer

When I use the camera shake function in my character_anim_bp, it replicates to all clients. I have a animnotify event triggering the camera shake function for sprint effects. The target is player controller. Why is it replicating to everyone?