Hello! In this video I show you how you can make a part give a player a badge when touched.
SCRIPT:
local badgeID = 0000000000 -- Set To Badge ID
local badgeService = game:GetService("BadgeService")
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
badgeService:AwardBadge(plr.UserId, badgeID)
end
end)
____________________________
Discord:
[ Ссылка ]
Insane Neon Obby:
[ Ссылка ]
Thank You For Watching!
Like and Subscribe For More Videos Like This!
![](https://s2.save4k.ru/pic/CXdagQgZg6o/maxresdefault.jpg)