Complex sentence: T.J. unhappily rides around town, doing things by himself, when he notices that there's something going on at the school.
Split into simpler sentences: T.J. unhappily rides around town, doing things by himself. On his way there, he notices something going on at the school.