DOTween: How to make a spring bounce effect?

I am looking how to make a bouncing effect with DOTween, like when the object is attached to a spring. How can I make an effect like this?

DoTween moving platform In Unity

I need some help with unity.

I am using DOtween’s DOpath to make a platform move to several co ordinates. However, my player slides off the moving platform.

I’ve tried using ontrigger enter/exit to parent the player with the platform but it doesn’t seem to work with Dopath….can anyone help?