Which orbitals you have depends on which basis set you used. An easy way to find out is to send the geometry to the Script Generator, add a New Calculator and select the basis set you want, then change "Script detail" to "Show Defaults" and send the script to the Editor. Isolating the relevant lines, you can find that for instance for the default DoubleZetaPolarized set, you have
Molybdenum: orbitals=[ molybdenum_4d , molybdenum_5s , molybdenum_4d_split , molybdenum_5s_split , molybdenum_5s_polarization]
Sulfur: orbitals=[ sulfur_3s , sulfur_3p , sulfur_3s_split , sulfur_3p_split , sulfur_3p_polarization ]
The H and S matrices follow the ordering of the atoms first, then the order of the orbitals in the basis set. In the case of a single unit cell of single-layer MoS2, the matrix is 41x41 (1 Mo, 2 S, d=5 orbitals, p=3, s=1, note that p-polarization is d and s-polarization is p).
Note that this is not a supported feature, so you're pretty much on your own here.