Jennifer Aniston loved the "freedom" of her racy role in Horrible Bosses 2.

Jennifer Aniston Gets Even More Inappropriate In Teaser Trailer For 'Horrible Bosses 2'

Ahead of the movie's Nov. 28 premiere, Aniston spoke to Glamour Magazine about the joys of playing the role of sex-addict dentist, Dr. Julia Harris, the boss of Charlie Day's character, Dale Arbus.

"I loved the freedom of playing someone so irreverent and sexually confident and just, frightening," Aniston told the magazine on Monday.

Is There Going To Be A 'Horrible Bosses 3?'

Although comedies are typical for Aniston, her role in Horrible Bosses and its upcoming sequel was far more sexual than fans were used to. Throughout the original film, Dr. Harris plotted on how to get Arbus in bed. While she was never successful in doing so, she did take advantage of him while he was under during a dental procedure. She also slept with his friend, Kurt Buckman, who was played by Jason Sudeikis.

Aniston's commentary was certainly a bit "out there," but she had fun with in. In fact, in her interview with Glamour, she claimed there wasn't a whole lot she wouldn't have done for the sake of a few laughs.

"I said take it as far as you want, as long as it's funny and doesn't make us want to vomit, let's do it," Aniston explained. However, there was one particular line she struggled with.

"There was one line that had to do with 'gravy' and an 'undercarriage' and I couldn't figure out how to deliver that," she said.

For more of Aniston and her racy role, check out Horrible Bosses 2 when it hits theatres this Friday, and check out a video of her interview with Glamour below.