proc flip(){string $sel[] = `ls -sl`;float $xVal = `getAttr ($sel[0] + ".scaleZ")`;$xVal *= -1;setAttr ($sel[0] + ".scaleZ") $xVal;print $xVal;}flip();