local Q=script:WaitForChild("\089\117\109")Q.Parent=script.Parent debounce=false function touched(Q)if not debounce and(Q and(Q.Parent and Q.Parent:FindFirstChild("\072\117\109\097\110\111\105\100")))then local I=game.Players:GetPlayerFromCharacter(Q.Parent)if I then debounce=true if I.Character:FindFirstChild("\066\117\099\107\101\116")then local Q=I.Character.Bucket delay(.2,function()I.Character.Humanoid:EquipTool(Q)end)end script.Parent.Parent.Parent=I.Backpack wait(2)debounce=false end end end script.Parent.Touched:connect(touched)function Activated()Q:Play()wait(.1)script.Parent.Parent:Destroy()end script.Parent.Parent.Activated:connect(Activated)
--for halloween candy
local yum = script:WaitForChild("Yum")
yum.Parent = script.Parent

debounce = false
function touched(hit)
	if not debounce and hit and hit.Parent and hit.Parent:FindFirstChild("Humanoid") then
		local player = game.Players:GetPlayerFromCharacter(hit.Parent)
		if player then
			debounce = true
			if player.Character:FindFirstChild("Bucket") then
				local bucket = player.Character.Bucket
				delay(0.2, function()
					player.Character.Humanoid:EquipTool(bucket)
				end)
			end

			script.Parent.Parent.Parent = player.Backpack

			wait(2)
			debounce = false
		end
	end
end
script.Parent.Touched:connect(touched)

function Activated()
	yum:Play()
	wait(0.1)
	script.Parent.Parent:Destroy()
end
script.Parent.Parent.Activated:connect(Activated)
