# execute store result storage blur strength float 0.0001 run scoreboard players get @s blur_strength

# execute if score @s blur_duration matches 1.. at @s run function main:mechanics/effects/blur/particle with storage blur
execute if score @s blur_duration matches -30..0 at @s run function main:mechanics/effects/blur/end
execute if score @s blur_duration matches -30.. run scoreboard players remove @s blur_duration 1