Will Riley went for a team-high 27 points in a much-needed win for Illinois on the road against the Golden Gophers.