Soak a few rags in ammonia and leave them around the attic for three nights in a row. Leave the lights on as well. The squirrels will be driven out by the smell and the light, taking any offspring with them. Once you think they’re gone, sprinkle some flour on the attic floor to show any new tracks. If none appear, be sure to seal any holes they may have entered through.