Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local badgeservice = game:GetService("BadgeService")
- local id = 000
- script.Parent.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
- badgeservice:AwardBadge(plr.UserId,id)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement