How I created a Part Badge awarder

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

Badge awarder

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.

3 Likes

This will be really helpful for beginner scripters! Keep up the good work!

I thought that too, thank you for your feedback : D

i did think about this for a while and i finally did Publish the script so there is no need to Copy and Paste the Script or writting it down yourself so feel free to check the model out and save yourself some time!