function rng:percentage

execute if score out rng matches ..70 run playsound custom.goblin.ambient hostile @a ~ ~ ~
execute if score out rng matches 71.. run playsound custom.goblin.laugh hostile @a ~ ~ ~
