I need help making a script that would make the character lie down on his seat instead of sitting up after pressing a button. When I press the button, a value becomes true and when it's clicked again it becomes false. [I have already done this step].

All I need now is the script that makes him/her lie down. Or it if a guest is sat down c: