how to show badge in project ventura roblox
You can show a badge in Project Ventura by checking whether the player owns
the badge, then enabling a GUI or badge display for them. Roblox’s badge
system lets you query badge ownership with UserHasBadgeAsync, and you can
also read badge details with GetBadgeInfoAsync, including the icon ID if you
want to display the badge image.
Simple setup
- Create a
ScreenGuiinStarterGui. - Put the badge image or badge label inside it, and set it to
Enabled = falseat first. - Add a server script that checks the player’s badge ownership.
- If the player has the badge, set the GUI to visible or enabled.
Example pattern:
lua
local BadgeService = game:GetService("BadgeService")
local BADGE_ID = 123456789
game.Players.PlayerAdded:Connect(function(plr)
local gui = plr:WaitForChild("PlayerGui"):WaitForChild("BadgeGUI")
local hasBadge = BadgeService:UserHasBadgeAsync(plr.UserId, BADGE_ID)
if hasBadge then
gui.Enabled = true
end
end)
That matches the common Roblox badge-display approach shown in the Roblox docs and community examples.
If you want the badge icon
Roblox badge info can return the icon asset ID, which you can place into an
ImageLabel so the badge actually appears visually in the UI. The badge icon
is typically shown using the badge’s image ID from GetBadgeInfoAsync.
Example:
lua
local BadgeService = game:GetService("BadgeService")
local BADGE_ID = 123456789
local success, info = pcall(function()
return BadgeService:GetBadgeInfoAsync(BADGE_ID)
end)
if success then
script.Parent.Image = "rbxassetid://" .. info.IconImageId
end
Project Ventura wording
If Project Ventura has its own badge menu or lobby display, the same idea still applies: check the badge on join, then toggle the UI or badge frame for players who own it. If the game already has a badge list system, you’d usually connect the badge icon to a frame and only show the badge when the ownership check passes.
Important notes
- Run ownership checks on the server, not only on the client.
- Make sure the badge is enabled in Roblox Creator Hub if you want players to earn it.
- If the badge is not showing, the usual causes are a wrong badge ID, the GUI path being incorrect, or the badge GUI never being enabled.
TL;DR
Use BadgeService:UserHasBadgeAsync() to check ownership, then enable the
badge UI or image for that player. If you need the badge artwork, pull the
icon from badge info and assign it to an ImageLabel.