Advertisement
Guest User

Untitled

a guest
Jul 26th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. init start
  2. local i = 1
  3. local itemdrop = {'Serpent Sword', 'Ancient Stone', 'Shiny Stone', 'Piece Of Marble Rock', 'Iron Ore', 'Sulphurous Stone', 'Small Sapphire', 'Dwarven Ring', 'Small Stone'} -- you can change it
  4. local bp1 = 'brown backpack' -- This is the backpack type that has the backpacks inside. Like a grey backpack filled with 20 fur backpacks.
  5. local bp2 = 'orange backpack' -- This is where the items will be throwed to.
  6. init end
  7.  
  8. closewindows('brocade backpack')
  9. setsetting('Cavebot/Pathfinding/WalkThroughtPlayers','no')
  10. setpriority(10,0,5000,300000,0)
  11. wait(2000,4000)
  12. reachgrounditem('depot')
  13. openitem('depot')
  14. wait(2000)
  15. openitem(bp1, 'Locker') wait(500,1000)
  16. local totalcount
  17. repeat
  18. openitem(bp2, bp1, true, i) wait(500,1000)
  19. for a,b in ipairs(itemdrop) do
  20. moveitems(b,bp2,nil)
  21. end
  22. closewindows(bp2)
  23. totalcount = 0
  24. for a,b in ipairs(itemdrop) do
  25. totalcount = totalcount+itemcount(b,'0-15')
  26. end
  27. if totalcount > 0 then
  28. i = i+1
  29. end
  30. until totalcount == 0 or i > 20
  31.  
  32. setsetting('Cavebot/Pathfinding/WalkThroughtPlayers','yes')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement