Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Services = {
- Click = script.Parent.ClickDetector;
- ID = script.ID.Value;
- BadgeService = game:GetService("BadgeService")
- }
- --[[
- || 📜 AUTHOR: @4zx16 || AWARD BADGE ON CLICK
- ]]
- local function ClickMe(player)
- Services.BadgeService:AwardBadge(player.UserId, Services.ID)
- end
- Services.Click.MouseClick:Connect(ClickMe)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement