June 16, 20187 yr private void checkXpForSkill(Skill skill) throws InterruptedException { if(random(1,100) == 1337) { getTabs().open(Tab.SKILLS); RS2Widget widget = widgets.get(320, skill.getChildId()); if(widget == null) return; Rectangle rect = widget.getBounds(); int x = random(rect.x, rect.x+rect.width); int y = random(rect.y, rect.y+rect.height); getMouse().move(x,y); sleep(random(420, 1337)); getTabs().open(Tab.INVENTORY); } } pls credit popmaster69punk1337 for the discovery thank you
June 16, 20187 yr if(random(1,100) == 1337) for some reason i don't expect this condition to be true all too often
June 16, 20187 yr 1 hour ago, ThatGamerBlue said: private void checkXpForSkill(Skill skill) throws InterruptedException { if(random(1,100) == 1337) { getTabs().open(Tab.SKILLS); RS2Widget widget = widgets.get(320, skill.getChildId()); if(widget == null) return; Rectangle rect = widget.getBounds(); int x = random(rect.x, rect.x+rect.width); int y = random(rect.y, rect.y+rect.height); getMouse().move(x,y); sleep(random(420, 1337)); getTabs().open(Tab.INVENTORY); } } pls credit popmaster69punk1337 for the discovery thank you what does it do ?
Create an account or sign in to comment