Complex sentence: They encounter the King's new Jester (John Carradine) on his way to the castle and knock him out, and Hawkins impersonates him, hoping to gain entry to the King's castle.
Split into simpler sentences: They encounter the King's new Jester (John Carradine) on his way to the castle. They knock him out and Hawkins impersonates him, hoping to gain entry to the King's castle.