Julius Randle netted a team-high 28 points as the Nets (4-13) posted their first NBA Cup win this season after losses against the Pistons and the Magic.