Balls'n Ropes game Physics

How can I make this string system that makes the balls bounce?
they don’t just throw the ball out, they retract with the weight of the ball and throw it back, I’ve tried using rope systems from videos I’ve seen on youtube, but nothing looks similar and nothing works as well as this game.


Did you try setting PhysicsMaterial2D for ropes?