Your first version was better. Events 9-12 in the last version are the reason why it's slow. The more Erase sprites are spawned, the more collision checks are made. With 100 sprites the game will be making over a million collision checks per second!
It's ok to use this method once on start of the layout, but don't do it on every tick.
Change the events like this: