You can adjust the amount of particles to create with the slider, then hit the green flag again. Press see inside and save the scripts to your backpack to use it in your project, no credit needed! :)
I'm fairly certain that the lag is just scratch's way of optimization.