--This is a normal script
local db = true
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") ~=nil then
if db == true then
db = false
script.Parent.Transparency = 1
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
game.Players.LocalPlayer.Character.BackPack:WaitForChild("Hamburger")
player.leaderstats.Candy.Value = player.leaderstats.Candy.Value + 100
script.Sound:Play()
script.Parent:Destroy()
end
end
end)

1 comment
Thanks!