Problem with anim montage replication

Hi all
I’m making a network first-person shooter, I’m replicating the weapon mechanics and there’s a joke with an anime montage:
If the server shoots, then everything is replicated to other clients. And if the client shoots, then the anim editing is not replicated, but played on absolutely everyone (as if the player is shooting, but in reality it is not). How to fix it?
Here is the code for firing and calling it:
Checkboxes “Replicates” and “Replicate movement” are enabled in gun and player BP (also “Net use owner relevancy” is checked in gun BP)