execute store result score random itemcount run random value 1..6
execute if score random itemcount matches 1 run playsound minecraft:entity.piglin.angry hostile @s ^ ^ ^-3 .5
execute if score random itemcount matches 2 run playsound minecraft:entity.zombified_piglin.angry hostile @s ^ ^ ^-3 .5
execute if score random itemcount matches 3 run playsound minecraft:entity.player.hurt_on_fire hostile @s ^ ^ ^-3 .05
execute if score random itemcount matches 4 run playsound minecraft:entity.ghast.ambient hostile @s ^ ^ ^-3 .5 1.2
execute if score random itemcount matches 5 run playsound minecraft:entity.blaze.ambient hostile @s ^ ^ ^-3 .2
execute if score random itemcount matches 6 run playsound minecraft:entity.skeleton.step hostile @s ^ ^ ^-3 .2