Celebrities are taking to social media to send their love and support after the mass shooting in Virginia Beach Friday.

A heavily armed gunman shot and killed 12 people at a municipal building in the coastal Virginia city. All but one of the victims worked for the city.

Here's what stars are saying about the nation's deadliest shooting of the year, starting with Pharrell Williams, a Virginia Beach native.

"We are praying for our city, the lives that were lost, their families and everyone affected. We are resilient," he tweeted with the hashtag #VirginiaBeach. "We will not only get through this but we’ll come out of this stronger than before we always do."

George Takei's message was to the point.

"Virginia Beach. I am so heartsick," he wrote with the hashtag #GunControlNow.

Pusha T also sent his prayers.

"Sending my prayers and love to the city of Virginia Beach, condolences to all of the families who lost loved ones...I’m so sorry," he tweeted.

Piers Morgan called the shooting "horrendous."

"Another horrendous mass shooting in America. Another moment for Americans to offer lots of thoughts & prayers - then shrug & do nothing to stop it happening again," he tweeted. "I love America but this complacent attitude to its gun violence culture is horrible."

Actress Yvette Nicole Brown drew a connection between gun control laws and abortion laws.

"Numerous states have laws that regulate women’s bodies but somehow sensible gun control is super hard to implement. Realize that they aren’t really pro-life at all," she tweeted. "Saddened to hear of yet ANOTHER mass shooting. Eleven dead, six injured this time in #VirginiaBeach."

Singer Dinah Jane also sent her prayers.

"Sad that this is the reality we’re living.. We shall not live in fear but pray for better days," she tweeted.

More:Bill would allow Oregon schools to offer a gun safety class to first-graders

More:'After Parkland' aims to show the human side of David Hogg, gun violence issue