How to create badge on part touch in roblox studio

Published: 14 August 2024
on channel: fil1pex
181
5

If you touch the part u get badge
SCRIPT:
---------------------------------
local badgeserv = game:GetService("BadgeService")
local BadgeId = your badge id here

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]
badgeserv:AwardBadge(Player.UserId, BadgeId)
end
end)
--------------------------------------------


Watch video How to create badge on part touch in roblox studio online without registration, duration hours minute second in high quality. This video was added by user fil1pex 14 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 181 once and liked it 5 people.