Dear student,
Electroscope is used for detecting and measuring charge
Charged balloon repel another charged balloon as they have the same charge so they repel, on the other hand, charged balloon attracts uncharged balloon as charged balloon induces opposite charge in the uncharged balloon when they touch each other.
Regards