Torx are the better hex as they apply torque to six planes, not six lines. It's right-out impossible to strip a torx.
The disadvantage is that it's harder to machine but that really doesn't matter for cast screws. Tools are also cheaper that's why IKEA etc. use them.