execute unless score @s vb.dummy1 matches 1.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:1}}} run scoreboard players set @s vb.dummy1 1
execute unless score @s vb.dummy1 matches 2.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:2}}} run scoreboard players set @s vb.dummy1 2
execute unless score @s vb.dummy1 matches 3.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:3}}} run scoreboard players set @s vb.dummy1 3
execute unless score @s vb.dummy1 matches 4.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:4}}} run scoreboard players set @s vb.dummy1 4
execute unless score @s vb.dummy1 matches 5.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:5}}} run scoreboard players set @s vb.dummy1 5
execute unless score @s vb.dummy1 matches 6.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:6}}} run scoreboard players set @s vb.dummy1 6
execute unless score @s vb.dummy1 matches 7.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:7}}} run scoreboard players set @s vb.dummy1 7
execute unless score @s vb.dummy1 matches 8.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:8}}} run scoreboard players set @s vb.dummy1 8
execute unless score @s vb.dummy1 matches 9.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:9}}} run scoreboard players set @s vb.dummy1 9
execute unless score @s vb.dummy1 matches 10.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:10}}} run scoreboard players set @s vb.dummy1 10
execute unless score @s vb.dummy1 matches 11.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:11}}} run scoreboard players set @s vb.dummy1 11
execute unless score @s vb.dummy1 matches 12.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:12}}} run scoreboard players set @s vb.dummy1 12
execute unless score @s vb.dummy1 matches 13.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:13}}} run scoreboard players set @s vb.dummy1 13
execute unless score @s vb.dummy1 matches 14.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:14}}} run scoreboard players set @s vb.dummy1 14
execute unless score @s vb.dummy1 matches 15.. if predicate {condition:"minecraft:location_check",predicate:{light:{light:15}}} run scoreboard players set @s vb.dummy1 15