Students from Barr, Walnut and Westridge middle schools all had roles to play in the judicial process, ranging from defendant to prosecuting attorneys, defense attorneys, witnesses, bailiff and jury.