execute if score @s screenshake_duration matches ..0 run scoreboard players set @s screenshake_duration 0
$scoreboard players set @s screenshake_duration $(duration)
$scoreboard players set @s screenshake_strength $(strength)