How do I make a badge award when the parts transparency is 1?

So basically I made this part that appears in a random chance (1, 370)
and so when it appears I want to make it so it awards a badge to the player for appearing. Please help me.

3 Likes

Here’s an article that might help with badges: (Scroll down to Awarding Badges)

To detect the part, you would need a simple if statement.

local SpecialPartToDetect = workspace.Part -- This should be the part you detect
if SpecialPartToDetect then --This if statement checks if the part exists
    AwardBadge(Player,BadgeId) -- This isn't normally defined, see article linked above
end
5 Likes

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