I'm stuck on a layer issue that I can't seem to fix

Post your script, please.