50 Cent 50 Cent

Rapper 50 Cent, who filed for bankruptcy last week, says the lavish lifestyle he often brags about is all an act.

While testifying in Manhattan Supreme Court on Tuesday, 50 Cent - whose real name is Curtis Jackson - said his claims about owning multiple cars and having millions of dollars to throw around are just for "entertainment," the New York Daily News reports.

The Power star was in court regarding a lawsuit filed by Lastonia Leviston, who accused Jackson of posting a private sex tape of her and her boyfriend online. He was required to testify about his personal wealth so that a jury could decide how much he should pay Leviston in damages.

Add new fall shows to your Watchlist now!

Leviston's lawyer grilled Jackson about his music and acting career, as well as nearly $300 million in endorsement deals. Jackson's lawyer claims his client's net worth is less than $4 million.

Jackson admitted to purchasing a Rolls Royce "on a whim" on July 4, but said he only did so after trading in a Lamborghini and another vehicle. He also said the fancy jewelry he often sports had been loaned to him and that cars including a Bentley and a Ferrari were rented, not owned, the Daily News reports.

However, Jackson did admit to owning a home on a 17-acre estate in Connecticut that features 21 bedrooms, 24 bathrooms, a basketball court, a movie theater and a personal nightclub.

Jackson has been ordered to pay $5 million to Leviston, whose sex tape he posted in order to embarrass her ex, rapper Rick Ross.

TODAY'S VIDEO: Melissa Joan Hart shares an insane story about Jennifer Love Hewitt