When The if Takes Place
One of the reasons we saved so many of the actions from the for loop is that I want to randomize the scale and vertical position of each star every time the "if" condition is met.
Move all four of those actions (var myScale, set _xscale, set _yscale, set _y) between the braces that define the if statement:
Ok, now test out that project: