This sounds like the plot to the story Johnny Cash tells in One Piece at a Time, minus the machine gun, of course.
https://www.youtube.com/watch?v=DZuJivIwV8o