scoreboard players set duration n_effects 30
execute if score @s ice_sword matches ..0 as @e[tag=hitted] run function effects:freeze/give
execute if score @s ice_sword matches ..0 run scoreboard players set @s ice_sword 100
