When the spider, lizard, or funky slug appears, curl the pillbug up. when all is safe, open the pillbug up.