A man with a gun killed a child and could hear the sound of a bullet being fired.