scoreboard players set r Random 12
function mctsts:util/random
execute if score n Random matches 1 run summon area_effect_cloud ~ ~ ~ {Radius:0.0f,Duration:2147483647,Tags:["deathMessage","deathMessage2"],CustomName:'{"translate":"death.reference.1","color":"red"}'}
execute if score n Random matches 2 run summon area_effect_cloud ~ ~ ~ {Radius:0.0f,Duration:2147483647,Tags:["deathMessage","deathMessage2"],CustomName:'{"translate":"death.reference.2","color":"red"}'}
execute if score n Random matches 3 run summon area_effect_cloud ~ ~ ~ {Radius:0.0f,Duration:2147483647,Tags:["deathMessage","deathMessage2"],CustomName:'{"translate":"death.reference.3","color":"red"}'}
execute if score n Random matches 4 run summon area_effect_cloud ~ ~ ~ {Radius:0.0f,Duration:2147483647,Tags:["deathMessage","deathMessage2"],CustomName:'{"translate":"death.reference.4","color":"red"}'}
execute if score n Random matches 5 run summon area_effect_cloud ~ ~ ~ {Radius:0.0f,Duration:2147483647,Tags:["deathMessage","deathMessage2"],CustomName:'{"translate":"death.reference.5","color":"red"}'}
execute if score n Random matches 6 run summon area_effect_cloud ~ ~ ~ {Radius:0.0f,Duration:2147483647,Tags:["deathMessage","deathMessage2"],CustomName:'{"translate":"death.reference.6","color":"red"}'}
execute if score n Random matches 7 run summon area_effect_cloud ~ ~ ~ {Radius:0.0f,Duration:2147483647,Tags:["deathMessage","deathMessage2"],CustomName:'{"translate":"death.reference.7","color":"red"}'}
execute if score n Random matches 8 run summon area_effect_cloud ~ ~ ~ {Radius:0.0f,Duration:2147483647,Tags:["deathMessage","deathMessage1"],CustomName:'{"translate":"death.reference.8.1","color":"red"}'}
execute if score n Random matches 8 run summon area_effect_cloud ~ ~ ~ {Radius:0.0f,Duration:2147483647,Tags:["deathMessage","deathMessage2"],CustomName:'{"translate":"death.reference.8.2","color":"red"}'}
execute if score n Random matches 9 run summon area_effect_cloud ~ ~ ~ {Radius:0.0f,Duration:2147483647,Tags:["deathMessage","deathMessage2"],CustomName:'{"translate":"death.reference.9","color":"red"}'}
execute if score n Random matches 10 run summon area_effect_cloud ~ ~ ~ {Radius:0.0f,Duration:2147483647,Tags:["deathMessage","deathMessage2"],CustomName:'{"translate":"death.reference.10","color":"red"}'}
execute if score n Random matches 11 run summon area_effect_cloud ~ ~ ~ {Radius:0.0f,Duration:2147483647,Tags:["deathMessage","deathMessage2"],CustomName:'{"translate":"death.reference.11","color":"red"}'}
execute if score n Random matches 12 run summon area_effect_cloud ~ ~ ~ {Radius:0.0f,Duration:2147483647,Tags:["deathMessage","deathMessage2"],CustomName:'{"translate":"death.reference.12","color":"red"}'}

scoreboard players set n Random 0