Complex sentence: Shredder betrays Stockman and his men to take him away to their headquarters in Tokyo, but when entering the Technodrome, Krang immediately betrays Shredder, freezing him and locking away with his collection of other defeated foes.
Split into simpler sentences: Shredder betrays Stockman and his men take him away to their headquarters in Tokyo. When entering the Technodrome, Krang immediately betrays Shredder, freezing him and locking him away with his collection of other defeated foes.