Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import org.parabot.environment.api.utils.Time;
- import org.parabot.environment.scripts.framework.SleepCondition;
- import org.rev317.min.api.methods.Menu;
- import org.rev317.min.api.methods.Players;
- public enum Location {
- //Monsters
- ZIRCONIS(18831, "monster"),
- ALIEN(18832, "monster"),
- LE_FOSH(18833, "monster"),
- SKIADRUM(18837, "monster"),
- WEISSLOGIA(18838, "monster"),
- ALLAN(18839, "monster"),
- ARTILLERY(18840, "monster"),
- BIG_BLACK_BEAST(18841, "monster"),
- BELERION(18842, "monster"),
- AQUANITE(18843, "monster"),
- AURELIA(18844, "monster"),
- LIVYATHANN(18845, "monster"),
- //Bosses
- GROUDON(18831, "bosses"),
- ABBADON(18832, "bosses"),
- BANDOS_AVATAR(18833, "bosses"),
- BAPHOMET(18834, "bosses"),
- PHOENIX(18835, "bosses"),
- VLADIMIR(18836, "bosses"),
- SKOTIZO(18837, "bosses"),
- DRAGONIX(18838, "bosses"),
- QUEEN_DIANA(18839, "bosses"),
- DANK_MONSTER(18840, "bosses"),
- KBD_WARRIOR(18841, "bosses"),
- NULGATH(18842, "bosses"),
- //Donator
- REGULAR_DONATOR(18831, "donator"),
- SUPER_DONATOR(18832, "donator"),
- EXTREME_DONATOR(18833, "donator"),
- SPONZER_ZONE(18834, "donator"),
- EXECUTIVE_ZONE(18835, "donator"),
- //Wilderness
- SAFE_PVP(18831, "wilderness"),
- WEST_DRAGONS(18832, "wilderness"),
- CHAOS_ALTAR(18833, "wilderness"),
- WILDERNES_CASTLE(18834, "wilderness"),
- EAST_DRAGONS(18835, "wilderness"),
- GREEN_DRAGONS(18836, "wilderness"),
- RUNE_ROCKS(18837, "wilderness"),
- GREATER_DEMONS(18838, "wilderness"),
- ICE_PLATEAU(18839, "wilderness"),
- ROGUES_CASTLE(18840, "wilderness"),
- RESOURCE_AREA(18841, "wilderness"),
- REVENANT_TOWN(18842, "wilderness"),
- //Minigames
- FANTASY_RAIDS(18831, "minigames"),
- MARVEL_RAIDS(18832, "minigames"),
- BETHLEHEM_WARRIOS(18833, "minigames"),
- NEX(18834, "minigames"),
- AFK_TREE(18835, "minigames"),
- ENERGY(18836, "minigames"),
- THREE_BROS(18837, "minigames"),
- THREE_GROS(18838, "minigames"),
- GLACORS(18839, "minigames"),
- SHADES_AOE(18840, "minigames"),
- PEST_CONTROL(18841, "minigames"),
- GODWARS(18842, "minigames"),
- ZULRAH(18838, "minigames"),
- DRAGONBONE_CORP(18839, "minigames"),
- UNDEAD_CERBERUS(18840, "minigames"),
- LIZ_SHAMAN(18841, "minigames"),
- BLOOD_WOLF(18842, "minigames"),
- //Titans
- MADARA_UCHIHA(18831, "titans"),
- BLOODLUST_SHADOWLORD(18832, "titans"),
- GUNDAM(18833, "titans"),
- DRAGONBALL_Z_ONE(18837, "titans"),
- DRAGONBALL_Z_TWO(18838, "titans"),
- DRAGONBALL_Z_THREE(18839, "titans"),
- NARUTO_UZUMAKI(18843, "titans"),
- SASUKE_UCHIHA(18844, "titans"),
- SAKURA(18845, "titans"),
- SHADOW_LORD(18849, "titans"),
- MINI_TITANS(18850, "titans"),
- MINI_GOKUS(18851, "titans"),
- ;
- public int action3;
- private String category;
- Location(int action3, String category) {
- this.action3 = action3;
- this.category = category;
- }
- public int getAction3() {
- return action3;
- }
- public String getCategory() {
- return category;
- }
- public static void teleport(Location location) {
- switch (location.category) {
- case "monster":
- Menu.sendAction(315, 0,0,18815, 1);
- break;
- case "bosses":
- Menu.sendAction(315, 0,0,18816, 1);
- break;
- case "donator":
- Menu.sendAction(315, 0,0,18817, 1);
- break;
- case "wilderness":
- Menu.sendAction(315, 0,0,18818, 1);
- break;
- case "minigames":
- Menu.sendAction(315, 0,0,18819, 1);
- break;
- case "titans":
- Menu.sendAction(315, 0,0,18820, 1);
- break;
- }
- Time.sleep(200);
- Menu.sendAction(315, 0, 0, location.action3, 1);
- Time.sleep(200);
- Menu.sendAction(315, 1852, 471, 18810, 1);
- Time.sleep(new SleepCondition() {
- @Override
- public boolean isValid() {
- return Players.getMyPlayer().getAnimation() == -1;
- }
- }, 1500);
- }
- public void teleport() {
- teleport(this);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement