Seat on chair

I’m looking for a script that allow the player to seat on the nearest chair, i have saw many people using it but i could not find it. It’s most likely like when you get closer to a chair it will say Press E to seat on the chair or something like that.

Only esx?