Hey! i never seeing anyone showing this because of this i show it today how i created a part Badge awarder.
First I make a normal part and in that part I immediately created a click detector
and then i created a script in the clickdetector
now it should look like this
Then I created the script
It should look like this
local part = workspace.Part -- your part name
local BadgeService = game:GetService("BadgeService")
part.ClickDetector.MouseClick:Connect(function(player)
BadgeService:AwardBadge(player.UserId, 0000000) -- your badge ID
end)
okay after you have customized your script with your badge id and your part name you just have to click play and then it should work
I hope of course that you enjoyed my little contribution.