I agree with Stevens706 some slugs live in the soil & squash will always lure them out. I tend to plant my squash through black membrane with slug pellets underneath it, surround the stems with grit/egg shells etc & also cover with plastic bottle cloches until they are established