I made one of these systems a while back for one of my games and you should use BodyPositions to move the part. You can use math.clamp to prevent the part from moving too far away from the player. If the game is multiplayer, make sure to set the network ownership of the part to the server to avoid glitching.