Megan Fox clearly takes after Michael Bay.

Fox isn’t fazed by any of the criticism surrounding her upcoming pic, “Teenage Mutant Ninja Turtles.” When asked at a press conference how she felt about the backlash against the reboot, she had a four-letter word for the haters.

“Let me tell you something about those people,” she said during the Los Angeles event on Friday, as reported by CinemaBlend. “How much money did ‘Transformers 4’ make? Exactly. Those people can complain. They all go to the theater. They’re gonna love it and if they don’t love it, they can f–k off. And that’s the end of that.”

Fox is referring to both the vitriol surrounding Bay’s involvement with “TMNT,” which he’s co-producing, and the latest “Transformers” pic, “Age of Extinction,” which was bashed by critics and audiences alike. “Age of Extinction” is the worst reviewed movie of the series with an 18% rating on Rotten Tomatoes. But it had the best opening of the year so far with $100 million and has grossed a whopping $985 million worldwide since late June.

Fox starred in the first two “Transformers” movies opposite Shia LaBeouf before being replaced by Bay.

She was condemned by fanboys last February when cast as April O’Neil in “TMNT.” “TMNT” co-creator Peter Laird even questioned whether she was fit for the role.

Coincidentally, Bay made similar remarks in June about people bashing “Transformers.”

“They love to hate and I don’t care; let them hate,” he told MTV. “They’re still going to see the movie! I think it’s good to get a little tension.”

“Teenage Mutant Ninja Turtles,” which also stars Will Arnett, bows next Friday.