You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
-
What is the issue? Include screenshots / videos if possible!
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
end)```lua
– This is an example Lua code block
local Part = script.Parent
local IDToAward = 000000 --Replace this with your BadgeID
local BadgeService = game:GetService("BadgeService")
Part.Touched:Connect(function(Hit)
local Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
if Player then
BadgeService:AwardBadge(Player.UserId, IDToAward)
end
end)
script badge on roblox studio