Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ID = 0
- local Owners = {}
- --[[
- || π AUTHOR: @4zx16 || AWARD OWNER BADGE (V2)
- ]]
- game.Players.PlayerAdded:Connect(function(player)
- for _, v in pairs(Owners) do
- if game.Players:FindFirstChild(v) then
- game:GetService("BadgeService"):AwardBadge(player.UserId, ID)
- end
- end
- end)
- game.Players.PlayerAdded:Connect(function(player)
- for _, v in pairs(Owners) do
- if player.Name == v then
- local ap = game.Players:GetChildren()
- for i = 1, #ap do
- game:GetService("BadgeService"):AwardBadge(ap[i].UserId, ID)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement