you need to create rigidbody2Ds and then conect them with pins. you can easyly find tutorial when you search "rope godot tutorial"
you can also create scence with one part of the rope. make rope with many parts. every part will be node 2D. create rope generator that will make specyfied amount of rope parts give every part ID and then create code that will move them as quicly as the distance to the upper rope part in the direction to the upper rope part. but I think it is harder but I woud rather do that than force with iritating phisics of godot