That's what he gets. A kid I knew was dismembered by a train walking home from school. He had headphones on and didn't hear it coming. After that I regretted messing around near train tracks.
Part of me thinks that idiots like this wouldn't mind being flattened by a train as long as the camera caught it all and uploaded it to their instagram accounts.