Getting Started
Converting IDs into Data
Transforming numeric IDs into valuable information
When using various endpoints, you might notice that instead of receiving usernames directly, you receive numeric IDs.
To convert these IDs into meaningful information, you can use Roblox’s user and asset endpoints.
Converting User IDs to Usernames
In Roblox, you can convert a user ID to a username using the Players service. Here’s an example of how you could do it:
username.lua
If you’re working outside of Roblox, you can achieve the same result using their API endpoint:
Roblox User Endpoint
Getting Thumbnails
If you’re working within Roblox, you can use the provided thumbnail ID directly in your scripts. Here’s an example script, parent it to a Decal.
Make sure to include “rbxassetid://” in front of the ID.
thumbnail.lua
For external use, you can leverage Roblox’s asset API to fetch thumbnails: Roblox Asset Endpoint