When making a hack, how do you code it to change a value at the address you want in the program you want?

Anyone know a good GUI code?

(Please don't post unless you have an answer)