Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.rsbot.script.Script;
- import org.rsbot.script.ScriptManifest;
- import org.rsbot.script.wrappers.RSObject
- @ScriptManifest(authors = {"lOL"}, name = "Main", version = 1.0, description = "Standard RSBot script")
- public class Sjoerd extends Script implements PaintListener {
- public int WILLOWLOG = 5554;
- public int HATCHET = idk;
- public boolean onStart() {
- return true;
- }
- public boolean onStart() {
- return true;
- }
- public int loop() {
- RSObject tree = objects.getNearest(WILLOW);
- if (tree != null && getMyPlayer().getAnimation() == -1) {
- if (getMyPlayer().getAnimation() == -1) {
- tree.doAction("Chop");
- sleep(random(1000, 2000));
- }
- }
- return 1;
- }
- return 1;
- }
- public void onFinish() {
- }
- ''}''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement