And when I say "Doo-doo, doo-doo,"

from ScHoolboy Q (Ft. Kendrick Lamar) – Collard Greens Lyrics on Rap Genius

Meaning

This is Kendrick’s signature ad-lib likely developed from his “Cartoons & Cereal”. This ad-lib is meant to resemble gunshots. This is something Kendrick came used to due to his upbringing in Compton, a city known notoriously for its high crime rate.
The same onomatopoeia he used on

To help improve the meaning of these lyrics, visit “Collard Greens” by ScHoolboy Q (Ft. Kendrick Lamar) Lyrics and leave a comment on the lyrics box