Professional Documents
Culture Documents
Autobuy
Autobuy
world = bot:getWorld()
inventory = bot:getInventory()
packname = "world_lock" --if you type wrong you will get ercon
pricepack = 2000 -- if you type wrong you will get ercon
PackitemID = 242 -- if you type wrong you will get ercon
PackDropCount = 3 --when drop pack example : if you type 4, the bot's item will
drop when it has 5 pieces
function Dropf(list)
while bot.gem_count > pricepack do
bot:sendPacket(2, "action|buy\nitem|"..packname)
sleep(3000) -- you can change delay
end
if inventory:getItemCount(PackitemID) > PackDropCount then
bot.auto_collect = false
Reconnectdroppack()
join(PackDropWorld,PackDropWorldID)
while inventory:getItemCount(PackitemID) > PackDropCount do
Reconnectdroppack()
sleep(500)
bot:drop(PackitemID,inventory:getItemCount(PackitemID))
sleep(500)
bot:moveLeft()
end
GonWebhook("<:growbot:992058196439072770> Bot Name : "..bot.name..
"\n <a:World:997157064008810620> Current World : "..world.name..
"\n <a:online:1007062631787544666> Status : "..bot.status..
"\n <:gems:994218103032520724> Dropped Pack :
"..floats(PackitemID).ucanlar)
end
end