execute store result score #random2 temp run random value 1..2

execute if score #random2 temp matches 1 run summon item ~ ~ ~ {Motion:[0.0,0.6,0.0],Tags:["lucky_block_item"],Item:{id:"minecraft:snowball",count:2,components:{"minecraft:max_stack_size":4,"minecraft:item_name":[{"color":"#FFA114","text":"B"},{"color":"#FF9D25","text":"r"},{"color":"#FE9836","text":"i"},{"color":"#FE9446","text":"d"},{"color":"#FE8F57","text":"g"},{"color":"#FD8B68","text":"e "},{"color":"#FD8679","text":"S"},{"color":"#FD828A","text":"n"},{"color":"#FC7E9A","text":"o"},{"color":"#FC79AB","text":"w"},{"color":"#FB75BC","text":"b"},{"color":"#FB70CD","text":"a"},{"color":"#FB6CDD","text":"l"},{"color":"#FA63FF","text":"l"}],"minecraft:lore":[{"color":"yellow","italic":false,"text":"Lucky Block Item"},{"color":"gray","italic":false,"text":"Throw to leave a trail of wool blocks!"}],"minecraft:custom_data":{bridge_snowball:1b}}}}
execute if score #random2 temp matches 2 run summon item ~ ~ ~ {Motion:[0.0,0.6,0.0],Tags:["lucky_block_item"],Item:{id:"minecraft:snowball",count:3,components:{"minecraft:max_stack_size":4,"minecraft:item_name":[{"color":"#FFA114","text":"B"},{"color":"#FF9D25","text":"r"},{"color":"#FE9836","text":"i"},{"color":"#FE9446","text":"d"},{"color":"#FE8F57","text":"g"},{"color":"#FD8B68","text":"e "},{"color":"#FD8679","text":"S"},{"color":"#FD828A","text":"n"},{"color":"#FC7E9A","text":"o"},{"color":"#FC79AB","text":"w"},{"color":"#FB75BC","text":"b"},{"color":"#FB70CD","text":"a"},{"color":"#FB6CDD","text":"l"},{"color":"#FA63FF","text":"l"}],"minecraft:lore":[{"color":"yellow","italic":false,"text":"Lucky Block Item"},{"color":"gray","italic":false,"text":"Throw to leave a trail of wool blocks!"}],"minecraft:custom_data":{bridge_snowball:1b}}}}