scoreboard players set @s countdown 50

function rng:percentage
execute if score out rng matches 65.. run playsound custom.shadow.ambient hostile @a ~ ~ ~
execute if score out rng matches 65.. run scoreboard players set @s countdown 120
