Celebrities took to social media on Sunday to call for gun control in the wake of the deadly terror attack at the Pulse nightclub in Orlando, during which 50 people were killed and another 53 injured by gunman Omar Mateen.

In addition to calling for stricter gun laws, a number of celebrities — including Star Trek star George Takei and director Judd Apatow — also angrily blasted presumptive GOP presidential nominee Donald Trump, in replies to one of his tweets about the shooting.

IF NOTHING ELSE,AUTOMATIC ASSAULT RIFLES &THOSE THAT CAN BE MADE IN2 ASSAULT WEAPONS W/HUGE CLIPS..MUST B BANNED#ASSUALTWEAPONSONLYKILLMAN — Cher (@cher) June 12, 2016

Madness. Hideous and cruel madness. To the survivors, and families of those slain, I'm so sorry. #StopGunViolence — olivia wilde (@oliviawilde) June 12, 2016

Military weapons belong in the military . pic.twitter.com/dXv3hH40dN — Chris Rock (@chrisrock) June 12, 2016

Email or call your Representative and ask them why they have done nothing to #EndGunViolence #Orlando https://t.co/GDvX9u3nKU — Julianne Moore (@_juliannemoore) June 12, 2016

Horrified by the mass shooting in Orlando. When will we do something to prevent these killing sprees? — John Legend (@johnlegend) June 12, 2016

50 people rapidly killed by 1 AR-15 in #Orlando – b/c in America, maniacs still have a God-given right to not have to reload mid-massacre. — John Fugelsang (@JohnFugelsang) June 12, 2016

How can you not see the news and see we need #GunControlNow? Fifty people are dead. The worst U.S. shooting in history! What will it take? — Rowan Blanchard (@RowanBlanchard) June 12, 2016

https://twitter.com/wilw/status/742059741833101312

Heartbroken for the devastating loss of life in Orlando. When will we change our guns laws! Praying for the victims and families.🙏🏼 — Billie Jean King (@BillieJeanKing) June 12, 2016

Takei, Apatow and acress Olivia Wilde confronted Trump in replies to one of his tweets:

Once again, Donald, you have shown why you cannot lead us. 50 people are dead, and you bask in congratulations. https://t.co/pUN7ceAff7 — George Takei (@GeorgeTakei) June 12, 2016

Is it possible to be a more self serving, terrifying dumbass than you?Congrats on that. You won that contest. https://t.co/fecFE6uLf3 — Judd Apatow (@JuddApatow) June 12, 2016

You are disgusting, @realDonaldTrump. Surely your supporters deserve more than your heartless idiocy. https://t.co/3fwOngA7D7 — olivia wilde (@oliviawilde) June 12, 2016

Sunday night’s Tony Awards will be dedicated to the victims of the Orlando nightclub massacre, though organizers did not say how the show would be affected.

Follow Daniel Nussbaum on Twitter: @dznussbaum