im trying to put a dog in my game that when you touch it it gives you a badge.
As the first answerer said, this is not a scripting REQUEST site. We help fix errors in scripts, not make them... anyways...
here you go...
put this in the brick
local badgeId = 12345 --Badge ID local awarded = true script.Parent.Touched:connect(function(hit) local plr = game.Players:FindPlayerFromCharacter(hit.Parent) if awarded and plr then game.BadgeService:AwardBadge(plr.userId,badgeId) awarded=false end end)
try that, idk. this is not a request site.
What is your attempt of the script?Scripting helpers is NOTa request site
Closed as Not Constructive by User#2
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?