Like a script that scans if someone has a specific badge and if they do a gui pops up.
Always search for information before asking. There's clearly an example on the Developer page of Roblox.
I hope this helps. https://developer.roblox.com/en-us/api-reference/class/BadgeService
01 | local BadgeService = game:GetService( "BadgeService" ) -- Get the service |
02 | local player = -- Where your player is |
03 |
04 | local badgeID = 00000000 -- Change this to your badge ID |
05 |
06 | local function Check(player) |
07 | -- Check if the player has the badge |
08 |
09 | local hasBadge = BadgeService:UserHasBadgeAsync(player.UserId, badgeID) -- either true or false |
10 |
11 | if hasBadge then |
12 | return true |
13 | else |
14 | return false |
15 | end |
16 | end |
17 |
18 | local PlayerHasBadge = Check(player) |
Closed as Not Constructive by JesseSong
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?