Can't replicate to server from child of player

So how I have things set up is that I have a gun that is a separate actor from the player which the player then casts to, to tell it to shoot. When it gets to spawning a projectile, only the server is allowed to do so with this current setup (The Server can shoot projectiles fine but Clients only get up to “Attempting to spawn projectiles” and the replication to the Server never happens).

https://puu.sh/xgFP3/2744a186b2.png

I have a feeling it has something to do with the “(if owning client)” part. I have also tried replicating to the server in different parts of the blueprint but I have the same results

I have found the issue, I needed to set the owner of the child to the player.