Two very similar circuits, one small difference and only one works.
In essence, a demonstration in the importance of correctly ordering transistors with their respective loads.
The LEDs represent a generic load, the diodes are only needed for motors.