Hello.
I want to make a script that gets a roblox account description.
I tried searching on the forum.
How to do this?
Hello.
I want to make a script that gets a roblox account description.
I tried searching on the forum.
How to do this?
You can use the following API endpoint to get the description of any Roblox user:
https://users.roblox.com/docs#!/Users/get_v1_users_userId
Sample request:
https://users.roblox.com/v1/users/1
So I need to make a script like this?
local description = game:GetService("HttpService"):GetAsync("https://users.roblox.com/v1/users/1")
print(description)
Yes, although you will not be able to request Roblox API directly with HttpService.
https://developer.roblox.com/en-us/api-reference/class/HttpService#considerations
Requests cannot be made to any Roblox website, such as www.roblox.com.
Instead you’ll have to proxy the request.
Here’s one which you can use: