How to give badge on part touch in Roblox Studio? In this guide, I show you how to make a badge and have it be awarded to players when they touch a part in your experience on Roblox. Hope this helps!
Script: local BadgeService = game:GetService("BadgeService")
local BadgeId = 0
script.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") and game.Players:FindFirstChild(hit.Parent.Name) then
local Player = game.Players[hit.Parent.Name]
BadgeService:AwardBadge(Player.UserId, BadgeId)
end
end)
🔔 Like & Subscribe For More "How to" Gaming Content!
#Roblox
![](https://s2.save4k.ru/pic/vi7Nn3VjhuQ/maxresdefault.jpg)