For weapons capable of automatic firing, how to add a delay to single-shot?

I’ve looked for weeks on this topic and haven’t seen a single video even gloss over it