I had this EXACT Same problem with my hen! Your hen has a tape worm! That's what the long white string was!
For days my hen was perching a lot, sleeping a lot, not eating much, not drinking at all, would do eveything on slow motion, droop her wings and have a messy behind. I kept asking on...