execute if data storage funkalot:tracks {tracks:{difficulty:easy}} run scoreboard players set @s difficulty 1
execute if data storage funkalot:tracks {tracks:{difficulty:normal}} run scoreboard players set @s difficulty 2
execute if data storage funkalot:tracks {tracks:{difficulty:hard}} run scoreboard players set @s difficulty 3
execute if data storage funkalot:tracks {tracks:{difficulty:idealism}} run scoreboard players set @s difficulty 4