While Loop a determined number of times, then stop

Hey guys! I was working on this thing, that I wanted to spawn a blood particle depending on how much damage the player had been inflicted, but I needed it to loop as many times as the damage inflicted, didnt find anything like that, so I made this while loop macro and I think it is so cool that I want to share with everyone! Maybe a “For Loops” could have worked? Not sure, because those are still complicated for me. I call it the While Sexy Loop, because of its sexy curves :rolleyes: …I think I might be working for too long