Omg... a hack or a bot in a PServer. I still cannot believe it...
Learn how to use a Cheat Engine. Use Google to find a tutorial - there are many outside.
Then take a look in the Guide Section and maybe you find a useful guide. We cannot do more for you.