Returning to your original question and the design, you want it to create just 2 beams only. The question is when? Right now you create it constantly, when do you want it to spawn the beams? If for example it's every 2 seconds then you can add a condition every 2 seconds.