Complex sentence: Because cheering is done when attacking, only the batter has a personal fight song, and the fight song is sung when the batter enters the batter's box.
Split into simpler sentences: Because cheering is done when attacking, only the batter has a personal fight song. The personal fight songs are sung when the batter enters the batter's box.