Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $${
- toggle(vender);
- if(vender);
- log("&5&l[OBSIDIAN] &a&lON");
- //// Variavies
- &home=/home obsidian;
- #look=91,59;
- #idobsidian=49;
- #idchao=3;
- #redstone=331;
- #pic=278;
- #pedra=4;
- #slotpick=9;
- #slotred=7;
- #slotdima=8;
- do;
- echo("%&home%");
- gui;
- do(3);
- key(attack);
- wait(500ms);
- loop;
- pick(278);
- wait(500ms);
- if(%DURABILITY%<150);
- wait(500ms);
- echo("/reparar");
- endif;
- do(640);
- look(271,59);
- if(%HITID%=%#idobsidian%);
- pick(%#pic%);
- do;
- key(attack);
- wait(-1t);
- until(%HITID%!=%#idobsidian%);
- endif;
- if(%HITID%=%#idchao%);
- wait(150ms);
- slot(%#slotred%);
- wait(100ms);
- key(use);
- endif;
- if(%ITEM%=0);
- wait(150ms);
- echo("/home redstone");
- wait(2);
- gui(INVENTORY);
- wait(1);
- slotclick(6,l,true);
- wait(500ms);
- gui;
- wait(15ms);
- keydown(sneak);
- wait(250ms);
- echo("/esconder");
- wait(250ms);
- echo("/menuloja off");
- wait(250ms);
- key(use);
- wait(250ms);
- keyup(sneak);
- wait(1);
- echo("/home obsidian");
- wait(1);
- echo("/bench");
- wait(500ms);
- GETSLOT(331,#slot,0);
- slotclick(%#slot%);
- slotclick(43);
- wait(1);
- gui;
- do(3);
- key(attack);
- wait(500ms);
- loop;
- endif;
- endif;
- if(%HITID%=%#pedra%);
- pick(%#pic%);
- do;
- key(attack);
- wait(-1t);
- until(%HITID%!=%#pedra%);
- endif;
- loop;
- wait(1);
- log("&eVerificando o Inventario");
- wait(500ms);
- gui(INVENTORY);
- wait(1);
- GETSLOTITEM(34,#id,#stack,#data);
- wait(250ms);
- IF(%#stack%=64);
- wait(500ms);
- log("&cO Inventario esta cheio, indo guardar");
- gui;
- wait(1);
- echo("/home guardar_obsidian");
- wait(2);
- look(SOUTH);
- gui(INVENTORY);
- wait(1);
- do(40);
- GETSLOT(4,#slot,0);
- slotclick(%#slot%);
- slotclick(-999);
- loop;
- wait(500ms);
- gui;
- do;
- slot(6);
- wait(150ms);
- look(0,313); //// bau 1
- wait(250ms);
- key(use);
- wait(1);
- GETSLOTITEM(53,#id,#stack,#data);
- if(%#stack%=0);
- FOR(#inv,45,86)
- slotclick(%#inv%,l,true);
- NEXT;
- gui;
- elseif(%#stack%=64);
- gui;
- look(0,334); //// bau 2
- wait(250ms);
- key(use);
- wait(1);
- endif;
- GETSLOTITEM(53,#id,#stack,#data);
- if(%#stack%=0);
- FOR(#inv,45,86)
- slotclick(%#inv%,l,true);
- NEXT;
- gui;
- elseif(%#stack%=64);
- gui;
- look(0,7); //// bau 3
- wait(250ms);
- key(use);
- wait(1);
- endif;
- GETSLOTITEM(53,#id,#stack,#data);
- if(%#stack%=0);
- FOR(#inv,45,86)
- slotclick(%#inv%,l,true);
- NEXT;
- gui;
- look(0,33); //// bau 4
- wait(250ms);
- key(use);
- wait(1);
- endif;
- GETSLOTITEM(53,#id,#stack,#data);
- if(%#stack%=0);
- FOR(#inv,45,86)
- slotclick(%#inv%,l,true);
- NEXT;
- gui;
- elseif(%#stack%=64);
- gui;
- look(0,50); //// bau 5
- wait(250ms);
- key(use);
- wait(1);
- endif;
- GETSLOTITEM(53,#id,#stack,#data);
- if(%#stack%=0);
- FOR(#inv,45,86)
- slotclick(%#inv%,l,true);
- NEXT;
- gui;
- elseif(%#stack%=64);
- gui;
- look(NORTH);
- wait(500ms);
- keydown(sneak);
- keydown(right);
- wait(750ms);
- keyup(sneak);
- keyup(right);
- wait(1);
- echo("/sethome guardar_obsidian");
- wait(250ms);
- echo("/sethome guardar_obsidian");
- endif;
- endif;
- until(%ITEM%=0);
- endif;
- endif;
- loop;
- else;
- log("&5&l[OBSIDIAN] &c&lOFF");
- stop;
- endif;
- }$$
Advertisement
Add Comment
Please, Sign In to add comment