The purpose of the fake cockroaches is to scare Karen and keep her out of the closet. The "Ken repellent" is also meant to deter her from entering the closet.