Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Way to get AssetVersionID from HttpService GET request?

Would there be a way to do this?

code sample cuz not request, genuine question about service

local Http = game:GetService("HttpService")

Http:GetAsync("asset id plugin thingy link")

1 answer

✓ Accepted answer

Yes, quite simple infact:

First, lets make a function to bypass the roblox website HttpService block using rprxy.xyz:

local function CreateProxy(STR)
   return STR = STR:gsub("roblox.com", "rprxy.xyz") -- makes sure it requests through proxy.
end

Next we'll make the main part of the script:

local HttpService = game:GetService("HttpService")
local AssetVAIDL = CreateProxy("https://www.roblox.com/studio/plugins/info?assetId=AssetID")

-- replace AssetVAIDL variable with your assetID

HttpService:GetAsync(AssetVAIDL)

Full Script:

local function CreateProxy(STR)
   return STR = STR:gsub("roblox.com", "rprxy.xyz") -- makes sure it requests through proxy.
end

local HttpService = game:GetService("HttpService")
local AssetVAIDL = CreateProxy("https://www.roblox.com/studio/plugins/info?assetId=AssetID")

HttpService:GetAsync(AssetVAIDL)

1 comment

0

Thanks.

This discussion is preserved as it was. New answers, comments, and votes are closed.