Wretch 32 has been talking to Newsbeat on the set of Network Rail's Track Tests safety campaign.
Forty-one people were killed after trespassing on railway lines last year, according to latest figures. Since 2008, 270 people have died and 40% of them were young men aged 16-24.
The rapper tried out a rail simulator with George The Poet, attempting to guess where the train sound was coming from in time to jump out of the way.
Newsbeat had exclusive access to the warehouse where the promo was being shot.
Follow @BBCNewsbeat on Twitter