Hello guys, good night, i have a problem with a LUA script, this script its simple. This script deposit all money and transfer to my main char, but don't work, I tested it several times and one hour it started working, and I turned on the bot however when I went to see it going to deposit it can't, just hangs At the time of the transfer, he deposits all the money speaks balance but does not transfer when he had tested before leaving 100% afk had worked but now simply stopped. Can someone help me?
I noticed that when I get more than 1k - 2k gold he can't transfer
this is the script
I noticed that when I get more than 1k - 2k gold he can't transfer
this is the script
local PLAYER_DESTINATION = 'Mymain'
say('hi')
wait(800, 1200)
say('deposit all')
wait(800, 1200)
say('yes')
wait(800, 1200)
say('balance')
wait(1200, 1500)
local msg = getnewmessages()
for _, msg in ipairs(msg) do
local gold = tonumber(string.match(msg.content, "balance is (%d+) gold."))
if type(gold) == 'number' and gold > 0 then
say('transfer ' .. gold)
wait(800, 1200)
say(PLAYER_DESTINATION)
wait(800, 1200)
say('yes')
wait(800, 1200)
end
end
