Trust Check, trying to get the user's Roblox Badges

I’m trying to detect if the user has the “Administrator” Badge…

local IsRBXAdmin = false
	local PlayerBadges = HTTPService:GetAsync("https://www.roblox.com/badges/roblox?userId=" .. Player.UserId)
	print(PlayerBadges)
	for _, Badge in ipairs(PlayerBadges) do
		print(Badge)
	end

caused a “Trust Check Failed”

Is there a work around for this or a different way to do it?

1 Like

You’ll have to look into a proxy to use Roblox’s APIs via HttpService. You cannot use Roblox’s APIs directly with HttpService.

However, one thing you can do for your case in particular is check if the user is in this group. It’s invite only and almost every employee is in it.

1 Like

I’ll probably just use the Group Way. Thank you so much! :smiley:

1 Like

Don’t Badges also have AssetIDs?

He’s referring to the actual administrator badge, which can only be checked via endpoint (there’s no in-game service for checking official badges).

1 Like