Complex sentence: Beeks uncovers their scheme and attempts to kill them, but he is knocked unconscious by a gorilla being transported on the train, is put into a gorilla costume and lock him up with the real gorilla.
Split into simpler sentences: Beeks uncovers their scheme and attempts to kill them, but he is knocked unconscious by a gorilla being transported on the train. The four disguise Beeks with a gorilla costume and lock him up with the real gorilla.