Former Mexican President Vicente Fox appeared to blame Wednesday's mass shooting in Parkland, Fla., on President Trump Donald John TrumpUS reimposes UN sanctions on Iran amid increasing tensions Jeff Flake: Republicans 'should hold the same position' on SCOTUS vacancy as 2016 Trump supporters chant 'Fill that seat' at North Carolina rally MORE in an appearance on HBO's "Real Time with Bill Maher" on Friday.

Fox told Maher that events such as the "very sad event" in Florida that left 17 people dead and wounded more than a dozen others was “what you get” when you elect an "aggressive" president such as Trump.

"When you speak out of the White House with this aggressive, violent language, when you discriminate, when you're a racist, that's what you get," Fox said.

ADVERTISEMENT

"We need harmony, we need love, we need happy communities," Fox added. "And those concepts don't come out of [Trump's] mouth."

Fox is a longtime critic of Trump, particularly over the president's plan to build a wall along the U.S.-Mexico border.

The former Mexican leader has been critical of Trump's rhetoric and language about immigrants, which Fox says is not worthy of the United States's highest office.

Last month, Fox blasted Trump after he reportedly referred to Haiti, El Salvador and several African nations as "shithole countries" during a meeting with lawmakers.

"Donald Trump, your mouth is the foulest shithole in the world. With what authority do you proclaim who’s welcome in America and who’s not?" Fox said in January.

"America’s greatness is built on diversity, or have you forgotten your immigrant background, Donald?"