Please help!
1 | BadgeNoise = game.Workspace.BadgeAward |
2 |
3 | if PlayerHasBadge = "badge id here" |
4 | BadgeNoise:Play() |
5 | end |
You have to use the BadgeService.
1 | BadgeNoise = game.Workspace.BadgeAward |
2 | bservice = game:GetService( "BadgeService" ) |
3 | if bservice:UserHasBadge(userId, badgeId) then |
4 | BadgeNoise:Play() |
5 | end |
You can also use the BadgeService to detect if the player has any asset, such as tshirts, hats, models, etc.
Closed as Not Constructive by M39a9am3R, Tkdriverx, and adark
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?