Limited only badge help

Hi, can anyone help me with the script that gave badge to the first 100 players (like in RB Battles)? (By firing remote event)

You would have to use HttpService in order to get the data API from Roblox Badge Count.

local http = game:GetService("HttpService")

local badgeId = 0
local data = http:GetAsync("https://badges.roproxy.com/v1/badges/"..badgeId)

if data then
	data = http:JSONDecode(data)
	local awardedCount = data.statistics.awardedCount
	if awardedCount >= 100 then
		return 
	else
		-- award badge
	end
end

I’ll check it asap. Thanks for your help!

Thanks, it’s working! Now I can make limited stock codes with it… :skull_and_crossbones:

And also limited stock badge for game release event

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