local active_proxy = false
function connect_random_proxy()
if active_proxy then
if isProxyConnected() then
proxyDisconnect()
end
local new_proxy = proxys[math.random(1, #proxys)]
my_proxy_ip = new_proxy.ip
proxyConnect(new_proxy.ip, new_proxy.user, new_proxy.pass)
end
end