After the first 2 images I removed the first 'do' (see below) but when I finally got it working it crashed, showing image 3.
Thank you for reporting the bug in Max Spawn Addon. I updated the code. It should work now. You can find the new version of the max spawn addon on the github repository.