Hey there,
Scripting support is really meant for us to be able to help fix broken/unintended behaviors in code. It is quite difficult to explain how to do a full system, and while I have not looked at the game you linked, I’m sure it took some time for the developers to create. However, I have provided some resources regarding animations that may be of help. This article talks about the animation system as a whole: Using Animations | Documentation - Roblox Creator Hub This API describes the Animation object and its related articles: Animation | Documentation - Roblox Creator Hub
If you have any other questions, let me know.
Good luck!