I want to know how to use r,s,z sign and pubkey hex of a raw transaction to get the private key hex
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
This is not possible.
If a private key was trivially recoverable based on just a single signature, it would not be a very useful system (such systems do exist, such as IOTA, where keys can be recovered quite easily, but they take other steps to avoid it).
An edge case exists when duplicate r values are used, which does allow for key recovery. Pieter Wuille has an excellent answer detailing how to do that here.