How can I tilt GUI from side to side?

How can I animate a text button to make it tilt from side to side for a start screen and an ending screen?

I believe you can use TweenService for this. I recommend looking at the developer hub article for this: