S-rank gear sits at the top of the weapon ladder, and there are two realistic paths to it.
Offline, it is a grind: push your level high enough and high-grade weapons start appearing in the shops and drops you have access to. Online is far quicker. Browse player-run shops in the lobby — search rooms until you find one with a stocked inventory, and you will often see S-rank items listed for under 50,000 meseta, which is cheap for the tier. Check the seller's reputation before you buy, and confirm the weapon suits your class and build.