The 16-year-old tells a court he suffered bullying at secondary school and felt lonely at times.