AwardBadge (Method)

From Legacy Roblox Wiki
Revision as of 00:48, 9 July 2011 by >61352151511 (→‎Limitations)
Jump to navigationJump to search
AwardBadge( Integer userId, Integer badgeId )
Returns nil
Description: Gives player with userId a badge with badgeId.
Member of: BadgeService


Example
game:GetService("BadgeService"):AwardBadge(player.userId, 24806012)


Limitations

  • Badges can only be awarded to players in Server's. This means it can not be awarded in Edit or Build mode.
  • The owner of the place must own the badge. If they delete it from their badges it can no longer be awarded
  • The owner of the place must be subscribed to Builder's Club.

See Also