I was told this is a bad way of doing network replication, what is the correct way

Im trying to make an equip weapon network replicable and i have no idea what im doing, i got it to work but now im being told that its a bad way to do it. What is the correct way of doing this

We would need to know first how you are currently doing it to provide any feedback - what’s your intended flow?