{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:tick",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:all_of",
            "terms": [
              {
                "condition": "minecraft:inverted",
                "term": {
                  "condition": "minecraft:entity_properties",
                  "entity": "this",
                  "predicate": {
                    "nbt": "{Health:0f}"
                  }
                }
              },
              {
                "condition": "minecraft:entity_properties",
                "entity": "this",
                "predicate": {
                  "nbt": "{Tags:[2ndspawn]}"
                }
              }
            ]
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "survivalplus:finale/tpspawn"
  }
}