Help with custom tool system, motor creation

I’m current creating a custom tool system thats similar to roblox’s in the sense that a tool model is in the backpack when unequipped, then when equipping it connects to either the left or right hand using a motor6d to allow animations.

In order to make it feel more responsive and to allow the client to equip a tool with a local script, i added some code such that when the client calls the equip function, it immediately creates the motor6d and connects the tool to it, while it fires to the server in order for the server to then replicate the equipping too.

The issue im facing is that when i do, i end up with 2 motors, one created from the client, and another from the server, while the server only sees on, the client sees 2. This is of course problematic since it would break any scripts that try to modify that motor since there’s 2 instances of the same name.

How would i go about fixing this? how do i allow the client to stop replicating the motor that the server creates?

label each differently, on the client destroy the server rotor