Badges in Roblox are special rewards that a player receives for performing a certain action or achievement within the game. They are displayed on the profile and in the game’s reward list, making the gameplay more interesting. If you want to add such an element to your project, below you will find a step-by-step instruction.
Step 1. Preparing the badge
Before moving on to Roblox Studio, you need to prepare a badge image. It’s simple. You can do it, for example, in the simplest graphic editor. Even Paint will do.
- Image size: 150 × 150 pixels (larger is possible, but a square shape is required);
- Format: .png or .jpg;
- Try to keep the image simple and legible – badges are displayed small.
Step 2. How to make a badge in Roblox
Let’s move on to the main thing, directly to creating the badge:
- Go to the Roblox website and log into your account;
- Go to the Create section;
- Select the game you want to make a badge for;
- In the game panel, select the Badges section in the Engagement subsection;
- Click the Create Badge button;
- Upload the prepared image, come up with a name and description;
- Confirm creation (Roblox may charge a small fee to post a badge – usually 100 Robux);
- Please wait until your badge is moderated.
After this, the badge will appear in the list of awards in your game.
Step 3. Obtaining an ID badge
In order for the script in the game to “give out” a reward, you need to know the badge ID.
- Go to the badge page;
- Copy the numbers from the URL;
- In our case it is 4147965672191755;
Step 4: Setting up in Roblox Studio
Now open your project in Roblox Studio to make a badge in Roblox Studio and add the script.
- In ServerScriptService create a new Script;
- Insert the code: local BadgeService = game:GetService(“BadgeService”) local Players = game:GetService(“Players”) — your badge ID local BadgeID = 4147965672191755 — Badge issuing function localfunctiongiveBadge(player) local success, result = pcall(function()return BadgeService:AwardBadge(player.UserId, BadgeID) end) if success thenprint(“Badge issued: ” .. player.Name) else warn(“Error issuing badge: ” .. tostring(result)) endend– Example: issuing a badge when a player logs in Players.PlayerAdded:Connect(function(player) giveBadge(player) end).
Step 5. Setting up the conditions for receiving
You can change the conditions under which a player receives a badge. For example:
- When killing a boss;
- For completing the level;
- For entering the secret room;
- When you first enter the game.
Just call giveBadge(player) at the right moment in the script.
Adviсe
- Don’t create too many badges without real value – players love rewards for doing something special;
- Consider rare achievements to make the game more interesting;
- Use different levels of badge difficulty (common, rare, unique).



