How to make multiple animations for a tool

Hello Developers, I’m planning to make a tool with a GUI. It’s Marshal tool that has multiple GUI’s an each one that you click, a different animation plays. I know how to make a model with a working animation, but I don’t know how to make a GUI that plays different animations on your tool.