rope swinging: player slipping down

Hello, im using the following bluprint formula to simulate player rope swing, but the problem is that as time pass, the player loses height slowly until it reaches the floor. Any idea on how to fix this?

this is the yt video I used as reference:

Thanks

this is the one I used: