Layer Script error please help

Can you show the script? Otherwise it’s not possible to tell what’s wrong.