local badgeID =356818734 -->Put the badges ID there
local badgeService = game:GetService("BadgeService")
function onTouch(player)
wait(1)
badgeService:AwardBadge(player.userId, badgeID)
end
game.Workspace.Badge.Touched:connect(onTouch)
I was looking in the roblox wiki and I saw the scripts for how to make badges. I didn't see one for how to make a part give you a badge when you touch it, so I messed around with a badge script from the wiki. I tested it out and it says "userId is not a valid member of part". What does that mean and how do I fix it?
