execute if block ~ ~ ~ #svm_ep:no_physical_hitbox run playsound minecraft:block.glass.break master @a[distance=..6.5] ~ ~ ~ 0.3 1.2
execute if block ~ ~ ~ #svm_ep:no_physical_hitbox run scoreboard players add @s svm_ep.used_move 3
execute if block ~ ~ ~ #svm_ep:no_physical_hitbox run scoreboard players add @s svm_ep.p.ice_created 1
execute if block ~ ~ ~ #svm_ep:no_physical_hitbox run setblock ~ ~ ~ ice

execute as @s[scores={svm_ep.p.ice_created=3..}] run scoreboard players remove @s svm_ep.mana 1
execute as @s[scores={svm_ep.p.ice_created=3..}] run scoreboard players reset @s svm_ep.p.ice_created