Skip to content

K.Badges ​

Functions ​

K.Badges.Has ​

lua
K.Badges.Has(player: Player, badgeId: number): boolean

True if the player owns the badge. Yields; false if Roblox can't be reached.

K.Badges.Award ​

lua
K.Badges.Award(player: Player, badgeId: number): boolean

Awards the badge if the player doesn't have it yet. Yields; returns true if they own it afterwards.

Generated from src/Corode/Badges.luau.

Corode 0.13.0 · MIT License