Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- init start
- local i = 1
- 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
- local bp1 = 'brown backpack' -- This is the backpack type that has the backpacks inside. Like a grey backpack filled with 20 fur backpacks.
- local bp2 = 'orange backpack' -- This is where the items will be throwed to.
- init end
- closewindows('brocade backpack')
- setsetting('Cavebot/Pathfinding/WalkThroughtPlayers','no')
- setpriority(10,0,5000,300000,0)
- wait(2000,4000)
- reachgrounditem('depot')
- openitem('depot')
- wait(2000)
- openitem(bp1, 'Locker') wait(500,1000)
- local totalcount
- repeat
- openitem(bp2, bp1, true, i) wait(500,1000)
- for a,b in ipairs(itemdrop) do
- moveitems(b,bp2,nil)
- end
- closewindows(bp2)
- totalcount = 0
- for a,b in ipairs(itemdrop) do
- totalcount = totalcount+itemcount(b,'0-15')
- end
- if totalcount > 0 then
- i = i+1
- end
- until totalcount == 0 or i > 20
- setsetting('Cavebot/Pathfinding/WalkThroughtPlayers','yes')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement