My in-laws had bats in the attic and we had to get them moved out before the house could be sold. Since they’re protected, we hired a trained person who slipped a plastic chute in each crevice. The bats could exit the attic but not re-enter. Be aware, a bat can get through an extremely small opening. I stress extremely small. Maybe you live in a route they travel which is called a “fly way”.