on projectile hit:
if projectile is a arrow:
if shooter is a player:
delete event-entity
loop all blocks in radius 1 of event-location:
set {_abc} to location of loop-block
exit loop
add block at location of the block right of {_abc} to {_g::*}
add block at location of the block left of {_abc} to {_g::*}
add block at location of {_abc} to {_g::*}
loop {_g::*}:
if block at loop-value is air:
set block at loop-value to ice
add loop-value to {_a::*}
wait 5 seconds
loop {_a::*}:
set block at loop-value to air