Here is an example of using My Blocks custom blocks to make your code more efficient to write and edit. In this version, I've incorporated a custom block and broadcast blocks for synconization.
You can check out my video tutorial on My Blocks on the official Scratch YouTube channel (ScratchTeam; look for the "Scratch My Blocks" video series) and find a link to written resources related to this topic in the video description.