ragdoll rig.

Can someone show me basic ragdoll rigging?
For example a rope. I made a rope mesh out of 8 meshes. I want it to be acting in game like a rope. For example if it’s attached to ceiling and player walks under it it moves with him.
Anyone? plaese? I asked loads of ppl, then tried but nothing worked.