that stuff exists, I just need help getting the code to run the stuff
Some assistance is that i have used this code twice in order to get info on a player however it’s not working for this:
local HttpService = game:GetService("HttpService");
local remote = game.ReplicatedStorage.Favorites
remote.OnServerInvoke = function(plr, UserId)
local followers = {};
local url = ("LINK HERE"):format(tostring(UserId))
local success, output = pcall(function() return HttpService:JSONDecode(HttpService:GetAsync(url)) end);
if not (success) then
print("Error fetching fat stacks of info")
return followers;
end
for _, v in pairs(output.data) do
table.insert(followers, {
name = v.name;
displayName = v.displayName;
userId = v.id;
});
end
return followers;
end
Hello, i found a non roblox API (https://www.roproxy.com/users/inventory/)
how would i include it in a script?
I tried doing this:
local HttpService = game:GetService("HttpService");
local remote = game.ReplicatedStorage.Inventory
remote.OnServerInvoke = function(plr, UserId)
local followers = {};
local url = ("https://www.roproxy.com/users/inventory/"):format(tostring(UserId))
local success, output = pcall(function() return HttpService:JSONDecode(HttpService:GetAsync(url)) end);
if not (success) then
print("Error fetching fat stacks of info")
return followers;
end
for _, v in pairs(output.data) do
table.insert(followers, {
name = v.name;
displayName = v.displayName;
userId = v.id;
});
end
return followers;
end
U cant call roblox APIs, u need a external web page that when receive a remote it sends the requested inventory back, i dont know how to do that, but its the unique way
(If I have a good memory, I think there were people sending too many requests and there was a problem so it was banned, or maybe I’m confusing this with another related problem)
Hey can you send me the code. I appreciate not spoon feeding but I think I’m fine with understanding how it works now. It’s just the tedious trial and error state is useless since it seems like you already know how it works.
the link: https://www.roproxy.com/users/inventory/
the assettype: 2 or Classic T-shirt
I haven’t been able to find the code on my own… sorry