A 14-year-old boy has been sentenced for a series of violent offences targeted at an elderly man and a married couple last year.