Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package scripts.Runecrafter.RCPro;
- import org.tribot.api.General;
- import org.tribot.api.input.Mouse;
- import org.tribot.api2007.GameTab;
- import org.tribot.api2007.GameTab.TABS;
- import org.tribot.script.Script;
- public class AntiBan extends Script {
- //when ruins arent there in sleep if in a cetain area, walk to ruins again. Than flawless
- @Override
- public void run() {
- }
- public AntiBan()
- {
- int x = General.random(1, 50);
- int XPCheck = General.random(1, 15);
- int CheckFriends = General.random(10, 20);
- int SleepyTime = General.random(10, 40);
- if(x == XPCheck)
- CheckXP();
- else if(x == CheckFriends)
- CheckFriends();
- else if(x == SleepyTime)
- sleep(1000, 2700);
- }
- private void CheckFriends() {
- GameTab.open(TABS.FRIENDS);
- sleep(400, 1200);
- GameTab.open(TABS.INVENTORY);
- while(!GameTab.getOpen().equals(TABS.INVENTORY))
- GameTab.open(TABS.INVENTORY);
- }
- public void CheckXP()
- {
- GameTab.open(TABS.STATS);
- Mouse.move(General.random(563, 600), General.random(400, 417));
- sleep(400, 1200);
- GameTab.open(TABS.INVENTORY);
- while(!GameTab.getOpen().equals(TABS.INVENTORY))
- GameTab.open(TABS.INVENTORY);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment