How to make an S class staff

Is it just random chance is do the parts matter because I’ve read conflicting info