Scottie Barnes scored a career-best 35 points and added nine assists and six rebounds as the Toronto Raptors defeated the visiting Indiana Pacers 122-111 on Tuesday night in an NBA Cup game.