There’s fossil evidence that proves T. rex hunted, at least part of the time. Many of those Triceratops and Edmontosaurus bones pockmarked with T. rex tooth impressions show signs of healing and regrowth, so they must have been attacked while alive but survived.