copy the code then right click your background on your computer select new text document in there paste it and check for the line "public class TnTEssenceMiner extends Script implements" (tntessenceminer is the one i am using atm) but what ever yours is called save it as that for example mine would be TnTEssenceMiner.java save that to your desktop now open rsbot in the folder 'scripts' click and drag it into there (do not save in precompiled) then go back and click compile then run rsbot.java and click run scrips then look for your bot hope this make sense im a bit tipsy
If you are talking about SCAR, copy and paste the code in SCAR. It probably won't run, since most of the scripts are outdated. If you are talking about RSBot, read the post above.