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

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