execute if entity @s[nbt={Health:0.0f}] run advancement grant @s only blazeandcave:animal/goat_simulator
execute if entity @s[nbt={Health:0.0f}] run advancement grant @s only blazeandcave:challenges/death_from_all goat

advancement revoke @s only blazeandcave:technical/goat_simulator_check