The problem with this method is that if you have 9 red blocks and 1 green block on the screen, then there is a 90% chance that your bullet will be red.
Also, note that if you are doing this inside some parent event (for example "Bullet on collision with Block"), you will need to execute "System-Pick all Block" event first.