XXXTentacion Murder Captured on Surveillance Video

9/28/2018 8:35 AM PDT

XXXTentacion Murder Captured on Surveillance Video, Played in Court

XXXTentacion's murder happened in plain view of surveillance cameras, and the haunting video was played in public for the first time Thursday during a Broward County court hearing.

The video shows X walking into the motorcycle dealership in Pompano Beach, FL ... and you see two of the suspects follow him into the building. Later, his BMW is stopped on the street by the gun-wielding suspects. 

Surveillance cameras recorded what we'd already known -- that X struggled with his assailants before they opened fire at point-blank range. One of them actually walked around to the passenger side and got into X's car before fleeing the scene. 

As we reported, the suspects made off with a Louis Vuitton bag and $50k in cash.

WPLG was in court as prosecutors played the video during a discovery and bail hearing for Robert Allen -- one of 4 suspects charged with the June murder of the rapper.