This code snippet constantly generates insecticide, which can be used with the next snippet to poison to the bug.
To set this up, you put this snippet on the insecticide sprite.
The code works by using a loop to keep cloning itself, and then waiting a time before doing it again. It spawns the clone in a random position.
The code can be found here:
https://scratch.mit.edu/projects/388544257/
.
