I found a great alternative to this script. A proxy server that changes the IPv6 address with each request runs on a single port. For example, you can send requests through a specific address changing the proxy username and other settings. It's worth checking out.
https://github.com/0x676e67/vproxy