Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --User fetcher
- --Warning: This will cause output spam
- --Warning: Don't leave this unattended for too long, as it will probably crash roblox because roblox uses too much memory
- --Created by yours truly, RyanDolan123
- h = game:GetService("HttpService")
- game:GetService("NetworkServer")
- h.HttpEnabled = true
- for i = 1, 10000000 do --start amount = 1, end amount = 10000000
- local r = nil
- local o,e = ypcall(function()
- r = h:GetAsync("http://api.roblox.com/users/"..i)
- end)
- if not o then
- if e:lower():find("limit") then
- repeat
- wait()
- game:SetMessage("Http request limit reached, waiting... ID: "..i.." ("..tick()..")")
- local o,e = ypcall(function()
- r = h:GetAsync("http://api.roblox.com/users/"..i)
- end)
- if not o and not e:find("limit") then
- o = true
- e = "{}"
- end
- until o
- elseif e:lower():find("not enabled") then
- game:SetMessage("Waiting for HttpEnabled... ("..tick()..")")
- elseif e:lower():find("only be executed by game server") then
- game:SetMessage("Waiting for NetworkServer... ("..tick()..")")
- elseif e:lower():find("0x1f4") then
- game:SetMessage("User "..i.." doesn't exist")
- else
- game:SetMessage("Unknown error for user ("..tick()..")")
- end
- wait()
- end
- if r then
- game:SetMessage("User "..i.." queried")
- Instance.new("Model",Workspace).Name = r
- end
- if _G.stop then
- error("Stopping")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement