Work on a loft or a roof may affect bats. You need to consider protected species when planning work of this type. A survey may be needed, and if bats are using the building, a licence may be needed.
Wildlife Assessment Check
The Wildlife Assessment Check is a free online tool that identifies whether there are any protected or priority wildlife species in the location where proposed works are to take place.