How to check if a player has a badge in Roblox
You can use the 'UserHasBadgeAsync' function in Roblox scripting. Just plug in the player's user ID and the badge ID you want to check for!
Play Games.Earn points.Get gift cards!

Playback Rewards
(13.7k)
500k players and counting...
More Answers
Easiest way is to use the 'UserHasBadgeAsync' function in a script. Here's a sample:
```lua
local player = game.Players.LocalPlayer
local badgeId = 123456
local hasBadge = game:GetService('BadgeService'):UserHasBadgeAsync(player.UserId, badgeId)
print('Player has badge:', hasBadge)
```
Just use 'UserHasBadgeAsync' in your script. It鈥檚 the standard way to check!
馃憖 If you like Roblox...
The brands referenced on this page are not sponsors of the rewards or otherwise affiliated with this company. The logos and other identifying marks attached are trademarks of and owned by each represented company and/or its affiliates. Please visit each company's website for additional terms and conditions.
People also want to know
Add an Answer