execute if score @s vignette_duration matches -30..0 at @s run function main:mechanics/effects/vignette/end

execute if score @s vignette_duration matches -30.. run scoreboard players remove @s vignette_duration 1