#deaths
execute if score @s Deaths matches 0 run advancement grant @s only survivalplus:ngtest/0deaths
execute if score @s Deaths matches ..9 run advancement grant @s only survivalplus:ngtest/10deaths
execute if score @s Deaths matches ..49 run advancement grant @s only survivalplus:ngtest/50deaths
execute if score @s Deaths matches ..99 run advancement grant @s only survivalplus:ngtest/100deaths

#time
execute store result score days time run time query day
execute if score days time matches ..9 run advancement grant @s only survivalplus:ngtest/time1
execute if score days time matches ..99 run advancement grant @s only survivalplus:ngtest/time2
execute if score days time matches ..499 run advancement grant @s only survivalplus:ngtest/time3
execute if score days time matches ..999 run advancement grant @s only survivalplus:ngtest/time4
#scoreboard players reset days time

#kills
#execute if score @s Kills matches ..9 run advancement grant @s only survivalplus:ngtest/10kills
#execute if score @s Kills matches ..99 run advancement grant @s only survivalplus:ngtest/100kills
#execute if score @s Kills matches ..499 run advancement grant @s only survivalplus:ngtest/500kills
#execute if score @s Kills matches ..999 run advancement grant @s only survivalplus:ngtest/1000kills