local http = game:GetService("HttpService")
local get = http.GetAsync
local jsonDecode = http.JSONDecode
local proxyUrl = "roproxy.com" --Put your proxy's domain here.
local baseUrl = "https://users."..proxyUrl.."/v1/users/%d"
local function getUsersDescription(userId : number)
local requestUrl = string.format(baseUrl, userId)
local success, result = pcall(get, http, requestUrl)
if success then
if result then
local success2, result2 = pcall(jsonDecode, http, result)
if success2 then
if result2 then
return result2.description
end
else
warn(result2)
end
end
else
warn(result)
end
end
local userDescription = getUsersDescription(1)
print(userDescription) --Welcome to the Roblox profile! This is where you can check out the newest items in the catalog, and get a jumpstart on exploring and building on our Imagination Platform. If you want news on updates to the Roblox platform, or great new experiences to play with friends, check out blog.roblox.com. Please note, this is an automated account. If you need to reach Roblox for any customer service needs find help at www.roblox.com/help
4 Likes