how can i make my charecter to hang a rope

In my project the character is hanging to a rope.And when we press down arrow the rope scale is increased means The character is getting down.so how can i make it .

If you looking for rope realization examples, this can be usefull: https://youtu.be/THtFphWoE2Q