Minecraft wiki entry for Predicate, associated text: entity_scores—Checks the scoreboard scores of an entity. May be invoked from any context.
 entity: The entity to check. Set to this to use the entity that invoked this condition, killer for the killer of the this entity, or killer_player to only select the killer if they are a player.
 scores: Scores to check. All specified scores must pass for the condition to pass.
 A score: Key name is the objective while the value specifies a range of score values required for the condition to pass.
 min: Number Provider. Minimum score.
 max: Number Provider. Maximum score.
 A score: Shorthand version of the other syntax above, to check the score against a single number only. Key name is the objective while the value is the required score.