Implementing Rope Swing

Hey fairly new here, I have been trying to create rope swing like yours and was wounding how did you do it as when I attach my third person character using the attach to component node to the rope it just goes to the top of the cable component and fall off doest stay attach, how did you make it so that the character stays attach and get to the middle of the cable and not fall off?