A Chapel Hill teen who pleaded guilty to killing his parents was sentenced on Friday to a maximum of 24.5 years in prison for the 2005 shooting death of his father.