I tried to research the dinosaur scrotum issue, but assistance was not forthcoming. It would seem that reptiles don't have testicles and birds, close dinosaur relatives, have internal ones. The purpose of external testicles is to keep them cool. Since many dinosaurs were warm blooded and huge, it would not be surprising if dinosaurs had external testicles in a scrotum. But, of course, no one knows.