How would I animate a seat?

I welded a seat, but I have no experience in scripting it. How would I script doors and seat.

The GUI has a bed, reclined and upright buttons.

It depends on how you want it to be animated
The seat is attached to what?
I recommend reading about CFrame and about tweenServiceI recommend reading about CFrame and tweenService.