Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local config = {
- GoldContainer = "Backpack",
- Gold = {"Gold Coin"},
- GoldEnabled = true,
- StackableContainer = "Orange Backpack",
- Stackables = {"Platinum Coin", "Ultimate Health Potion", "Perfect Behemoth Fang", "Behemoth Claw", "Swarmer Antenna", "Compound Eye", "Waspoid Wing", "Crawler Head Plating", "Small Amethyst", "Small Ruby", "Small Emerald", "Small Sapphire", "Small Topaz", "Small Diamond", "White Pearl", "Black Pearl", "Demonic Essence", "Golden Lotus Brooch", "Peacock Feather Fan", "Gold Ingot", "Hellspawn Tail", "Red Piece of Cloth"},
- NonStackableContainer = "Brocade Backpack",
- NonStackables = {"Wand Of Inferno", "Epee", "Calopteryx Cape", "Hive Scythe", "Carapace Shield", "Blue Gem", "Yellow Gem", "Underworld Rod", "Assassin Dagger", "Blue Robe", "Skullcracker Armor", "Spellbook of Mind Control", "Oriental Shoes", "Warrior Helmet", "Onyx Flail", "Focus Cape", "Magma Coat", "Red Gem", "Ruby Necklace", "Death Ring", "Spiked Squelcher", "Zaoan Legs", "Zaoan Armor", "Dragon Scale Mail", "Royal Helmet", "Tower Shield", "Zaoan Helmet", "Zaoan Shoes", "Abyss Hammer", "Berserker", "Composite Hornbow", "Demon Shield", "Mastermind Shield", "Warrior's Axe", "Warrior's Shield"}
- }
- while true do
- for i = 0, #Container.GetIndexes() - 1 do
- local c = Container.GetFromIndex(i)
- if c:isOpen() and (c:Name():find("The") or c:Name():find("Demonic") or c:Name():find("Dead") or c:Name():find("Slain") or c:Name():find("Dissolved") or c:Name():find("Remains") or c:Name():find("Elemental")) then
- for s = 0, c:ItemCount() - 1 do
- local item = Item.GetName(c:GetItemData(s).id):titlecase()
- if config.GoldEnabled and table.contains(config.Gold, item) and Self.Cap() > 100 then
- local destCont = Container.GetByName(config.GoldContainer)
- c:MoveItemToContainer(s, destCont:Index(), math.min(destCont:ItemCount() + 1, destCont:ItemCapacity() - 1))
- wait(150, 180)
- break
- elseif table.contains(config.Stackables, item) then
- local destCont = Container.GetByName(config.StackableContainer)
- c:MoveItemToContainer(s, destCont:Index(), math.min(destCont:ItemCount() + 1, destCont:ItemCapacity() - 1))
- wait(150, 180)
- break
- elseif table.contains(config.NonStackables, item) then
- local destCont = Container.GetByName(config.NonStackableContainer)
- c:MoveItemToContainer(s, destCont:Index(), math.min(destCont:ItemCount() + 1, destCont:ItemCapacity() - 1))
- wait(150, 180)
- break
- end
- end
- end
- end
- wait(50)
- end
Add Comment
Please, Sign In to add comment