execute store result score #random3 temp run random value 1..4

$execute if score #random3 temp matches 1 run summon splash_potion ~ ~ ~ {CustomName:"The Evil Potion Fountain",Motion:[0.$(x2),$(y1).$(y2),0.$(z2)],Item:{id:"minecraft:splash_potion",count:1,components:{"minecraft:potion_contents":{custom_color:5388907,custom_effects:[{id:"minecraft:instant_damage",amplifier:1,duration:1}]}}}}
$execute if score #random3 temp matches 2 run summon splash_potion ~ ~ ~ {CustomName:"The Evil Potion Fountain",Motion:[-0.$(x2),$(y1).$(y2),-0.$(z2)],Item:{id:"minecraft:splash_potion",count:1,components:{"minecraft:potion_contents":{custom_color:5388907,custom_effects:[{id:"minecraft:instant_damage",amplifier:1,duration:1}]}}}}
$execute if score #random3 temp matches 3 run summon splash_potion ~ ~ ~ {CustomName:"The Evil Potion Fountain",Motion:[-0.$(x2),$(y1).$(y2),0.$(z2)],Item:{id:"minecraft:splash_potion",count:1,components:{"minecraft:potion_contents":{custom_color:5388907,custom_effects:[{id:"minecraft:instant_damage",amplifier:1,duration:1}]}}}}
$execute if score #random3 temp matches 4 run summon splash_potion ~ ~ ~ {CustomName:"The Evil Potion Fountain",Motion:[0.$(x2),$(y1).$(y2),-0.$(z2)],Item:{id:"minecraft:splash_potion",count:1,components:{"minecraft:potion_contents":{custom_color:5388907,custom_effects:[{id:"minecraft:instant_damage",amplifier:1,duration:1}]}}}}