playsound minecraft:block.trial_spawner.spawn_mob player @a ~ ~ ~ 2 1.5
particle minecraft:enchanted_hit ~ ~ ~ 0 0.5 0 0.5 50 force @a

execute if entity @s[tag=blue] run particle dust{color:[0.231,0.357,1.000],scale:2} ~ ~ ~ 0.1 0.5 0.1 0 12 force @a

execute if entity @s[tag=red] run particle dust{color:[1.000,0.271,0.271],scale:2} ~ ~ ~ 0.1 0.5 0.1 0 12 force @a