execute as @e[tag=ice_trail,tag=ice_trail_new] run scoreboard players set @s mob_first_skill_counter 20
tag @e[tag=ice_trail_new] remove ice_trail_new

scoreboard players remove @s mob_first_skill_counter 1
execute as @e[tag=ice_trail,scores={mob_first_skill_counter=..0}] at @s run setblock ~ ~ ~ air
execute as @e[tag=ice_trail,scores={mob_first_skill_counter=..0}] at @s run particle block_crumble{block_state:ice} ~ ~ ~ 0.5 0.5 0.5 1 20
execute as @e[tag=ice_trail,scores={mob_first_skill_counter=..0}] at @s run particle snowflake ~ ~ ~ 0.8 0.8 0.8 0.1 10
execute as @e[tag=ice_trail,scores={mob_first_skill_counter=..0}] at @s run playsound block.glass.break hostile @a[distance=..15] ~ ~ ~ 0.6 0.75
execute as @e[tag=ice_trail,scores={mob_first_skill_counter=..0}] at @s run playsound block.amethyst_cluster.break hostile @a[distance=..15] ~ ~ ~ 1 0
execute as @e[tag=ice_trail,scores={mob_first_skill_counter=..0}] at @s run damage @a[distance=..3,limit=1,sort=random] 3 freeze by @s
kill @e[tag=ice_trail,scores={mob_first_skill_counter=..0}]