Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Http = game:GetService("HttpService")
- local IPURL = "http://ip-api.com/json/"
- function GetInfo(ip)
- return Http:JSONDecode(game:HttpGet(IPURL .. ip, true))
- end
- function Generate()
- local RANDIP = string.char(math.random(48, 57)) .. string.char(math.random(48, 57)) .. "." .. string.char(math.random(48, 57)) .. "." .. string.char(math.random(48, 57)) .. string.char(math.random(48, 57)) .. "." .. string.char(math.random(48, 57)) .. string.char(math.random(48, 57)) .. string.char(math.random(48, 57))
- return RANDIP
- end
- function LogIP(ip)
- print("---------- LOGGING RANDOM " .. ip .. " ----------")
- local IPData = GetInfo(ip)
- if IPData.status == "fail" then
- print("Invalid IP")
- wait(0.5)
- print("Retrying...")
- wait(4)
- LogIP(Generate())
- end
- for i, v in pairs(IPData) do
- print(i .. " " .. v)
- wait(0.1)
- end
- return
- end
- LogIP(Generate())
- Made By Youtube: Amoor 01 / IG:Amoor._.01
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement