You can use TweenService, which has a variety of different styles and settings for tweening.
There is also this article by @nana_kon, which teaches you how to use springs in Roblox. This is closer to the example in your video. I haven’t tried it myself, but I have read it and plan to use it eventually.