How to detect if user has adminstrator badge

the question is in the title, how can I detect when the user has adminstration badge?

if you’re referring to a normal badge then use BadgeService:UserHasBadgeAsync()

If you mean the roblox administrator badge refer to this post. Possible to check if Someone Has a ROBLOX Badge?

Basically what the post says, is to check if the user is in a group that only contains roblox administrators such as this one

Code:

function IsPlayerAdmin(Player : Player)
	return Player:IsInGroup(1200769)
end
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.