if (playerenters) timeout = 0.05;
if (playertouchsme) {
  if (playerdir==2) putleaps 5,x,y;
  else {
    set icefreeze;
    putnpc wiceblock.gif,iceblock.txt,playerx-2/16,playery-7/16;
  }
  destroy;
}
if (timeout) {
  timeout = 0.05;
  y-=0.7;
  if (y<2) destroy;
}