Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- || 📜 AUTHOR: @4zx16 || AWARD BADGE PART
- ]]
- local id = 0
- local Timeout = false
- local function onTouched(hit)
- if hit.Parent:FindFirstChild('Humanoid') then
- if Timeout == false then
- Timeout = true
- local player = game.Players:GetPlayerFromCharacter(hit.Parent)
- game:GetService("BadgeService"):AwardBadge(player.UserId,id)
- wait(1)
- Timeout = false
- end
- end
- end
- script.Parent.Touched:Connect(onTouched)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement