Players able to interact with other players local parts

I’ve created a script that makes Roped Parts and Loose Platforms local (Platforms that are attached by ropes, and a platform with a BallSocketJoint so it move when you jump on it). Basically if you jump on a swinging platform it’ll only swing/move for the player on it. However, everything about the part is local except for the actual swinging part. Like if I move the part using the move tool it is local, but if somebody jumps on it it swings for everybody. I heard that it might have to do with collision groups but I’m not sure how to fix it.

The way I make the parts local is by using a Local Script inside of StarterPlayerScripts that puts the Models inside of Replicated Storage and then clones them back into Workspace.