buy exclusion tubes especially suitable for bat removal. These tubes are generally product of strong plastic and possess a 1-way layout that allows bats to crawl out, although not back again in.
The use of a bat valve https://youtu.be/5a6xTNW8_fI?si=lZKaI0o8S7stV5md