Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I see if a player owns a shirt or a badge?

How do I see if a player owns a shirt or a badge?

2 answers

✓ Accepted answer

Roblox has a BadgeService which you can use to check if the player has a badge

game:GetService('BadgeService'):UserHasBadgeAsync(playerId,badgeId)

For the shirt, you can use MarketplaceService.

3 comments

0

When I use marketplace it only shows Gamepass...

0

Try MarketplaceService:PlayerOwnsAsset(plrId,assetId)

0

dont think that answering small questions will make u look cool

This discussion is preserved as it was. New answers, comments, and votes are closed.