Cedric steps in as substitute teacher for Sofia's sorcery class and helps the students of Royal Prep protect their school after a group of visiting pranksters arrive to wreak havoc.