Minecraft wiki entry for Target_selectors, associated text: [scores={<objective>=<value>,...}] — Filter target selection based on their scores in the specified objectives. All tested objectives are in a single object, with a list of individual score arguments between braces afterward. The values inside the braces support integer ranges. Cannot duplicate this argument.
@e[scores={myscore=10}] — Select all entities with a score in objective myscore of exactly ten.
@e[scores={myscore=10..12}] — Select all entities with a score in objective myscore of between ten and 12 (inclusive).
@e[scores={myscore=5..}] — Select all entities with a score in objective myscore of five or greater.
@e[scores={myscore=..15}] — Select all entities with a score in objective myscore of 15 or less.
@e[scores={foo=10,bar=1..5}] — Select all entities with a score in objective foo of exactly ten, and a score in objective bar of between one and five (inclusive).