Maybe start with VB, or c++, c++ is the main language used to code hacks, but it could take months to even years to perfect it.
Check the Hack Source Code, section and there are some tutorials on c++.
https://www.mpgh.net/forum/207-combat...ers-guide.html
That one will let you download a Microsoft Document so you can read it.