Advertisement
Guest User

Roblox Badges

a guest
Sep 7th, 2019
5,535
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. local badgeservice = game:GetService("BadgeService")
  2. local id = 000
  3.  
  4. script.Parent.Touched:Connect(function(hit)
  5.  
  6. if hit.Parent:FindFirstChild("Humanoid") then
  7.  
  8. local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
  9. badgeservice:AwardBadge(plr.UserId,id)
  10. end
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement