Dude almost hit by train