particle dust{color:[0.2,0.2,0.2],scale:0.45} ~ ~ ~ 0 0 0 1 1 force @a
execute store result score #rand temp run random value 1..10
execute if score #rand temp matches 1 run particle minecraft:electric_spark ~ ~ ~ 0 0 0 0.1 1 force @a