Rapper XXXTentacion has died after being shot on Monday afternoon in Florida in a suspected robbery.

The 20-year-old hip hop star had just left a motorcycle dealership when two armed men approached his car.

Investigators said at least one of the suspects shot him before they both fled the scene in a dark-coloured SUV.

Local police later announced: "The adult male that was taken to the hospital has been pronounced dead.

"The adult male victim has been confirmed as 20 year old Jahseh Onfroy aka rapper XXXTentacion."

(Image: Larry Marano/REX/Shutterstock)

The Florida native had appeared lifeless and without a pulse in horrifying video footage circulating on social media after the incident.

A second video showed the 20-year-old slumped behind the wheel of his black car being attended to by emergency services.

According to Broward Co. Sheriff's Office, police received a call about the shooting at 3:57pm and XXXTentacion was rushed to a local hospital.

Police later appealed to witnesses for information, writing on Twitter: “BSO homicide detectives said the 20-year-old victim was leaving RIVA Motorsports in Deerfield Beach shortly before 4pm when he was approached by two armed suspects.

“At least one of the suspects fired a gun striking Onfroy. Both of the suspects fled in a dark-colour SUV. Investigators say it appears to be a possible robbery.”

Video Loading Video Unavailable Click to play Tap to play The video will start in 8 Cancel Play now

(Image: Larry Marano/REX/Shutterstock)

What appears to be the last picture of the rapper alive shows him at the motorcycle dealership just moments before the fatal shooting.

After the news of XXXTentacion's death was announced fellow musicians took to social media to pay tribute.

Along with a picture of the rapper, Kanye West wrote: "Rest in peace I never told you how much you inspired me when you were here thank you for existing."

Diplo shared a picture of himself with XXXTentacion with the words: "Thanks for inspiring me."

He went on: "The two leaders of this entire wave of hip hop are dead now. If you really want to revil in their deaths I will block you. No time for negativity."

On Instagram the DJ - who is also a Florida native - revealed he had invited the rapper to LA this week so they could work on music together.

"This kid was a genius," he wrote. True artist. He made his own rules. He has his faults but he was young and he worked so hard on his own self. He wanted to be better. He loves everyone so much.

"He lived for every kid out here. He had the biggest imagination. He texted me this weekend it was one of his goals to get me & Skrillex to finish his next album. I Invited him to La this week. I was wondering if he was gonna come.

"He used every second of his life to create. He reppped Florida to his core.. I love this kid. He was gonna do so much more he promised me."

Video Loading Video Unavailable Click to play Tap to play The video will start in 8 Cancel Play now

Juicy J wrote: "R.I.P. Xxxtentacion."

Blink 182 drummer Travis Barker, who worked with XXX on his ? album, said: "I’m at a loss for words... speechless RIPXXXTentacion Loved collaborating with you. You were a true artist, one of the most f*****g talented of our time."

Rapper Tyga posted: "Really sad Rip xxx.. so sad to lose good artist," followed by three prayer emojis.

In March, XXXTentacion's second album ? debuted at number 1 on the Billboard 200 album chart while single SAD! spent seven weeks in the Hot 100.

In 2017 the Florida native was selected to appear on the cover of XXL Magazine's Influential Freshman edition, after winning the public vote.

The hip hop star was awaiting trial on domestic violence charges after allegedly attacking his then-pregnant girlfriend in 2016.

The rapper released his debut album 17 last year, which debuted at number two on the US Billboard 200.

Despite being relatively new to the music world, XXXTentacion was hailed 'rap’s most controversial man,' after becoming embroiled in numerous feuds with other rappers, including Drake.

Last year, XXX claimed their were similarities between Drake track KMT and his own song Look At Me.

In an interview with The Breakfast Club, XXX called Drake a "b***h" for "taking my s**t".

(Image: XXXTentacion/Youtube)

In 2017 he sparked controversy by imitating the hanging of a child in a new music video.

The video for Look At Me showed a number of violent scenes and incorporated footage of real life killings including the 2016 shooting of Philando Castile (who was gunned down while unarmed in his car in front of his girlfriend and four-year-old daughter).

The video climaxed with two young boys being introduced on stage in front of an audience - with the white child having a noose slipped over his head and raised upwards in an acted hanging.

A video was shared on his Instagram account just hours before he was shot saying he was planning a charity event in Florida this weekend.