BadgeGiver
Handles awarding badges to players.
Functions
GiveBadge
This is a yielding function. When called, it will pause the Lua thread that called the function until a result is ready to be returned, without interrupting other scripts. YieldsBadgeGiver:GiveBadge(badgeId: number--
The ID of the badge to award.
) → ()Awards the specified badge to the player if they do not already have it. Otherwise, records that we've already given the badge to this player in their data profile.