IsDisabled (Method)

From Legacy Roblox Wiki
Jump to navigationJump to search
IsDisabled( Integer badgeId )
Returns Bool isDisabled
Description: Returns true if the badge is Disabled
Member of: BadgeService


Example
If in a form of Offline Mode...
local BadgeService = game:GetService( "BadgeService" )

print( BadgeService:IsDisabled( 17468517 ) ) --> Sorry, badges can only be tested if they are disabled on Roblox game servers
If in a server (if you had the ability to see output in-game, that is)...
local BadgeService = game:GetService( "BadgeService" )

print( BadgeService:IsDisabled( 17468517 ) ) --> true