function boop(U)if not U.Backpack:FindFirstChild(Toolname)then local F=game.Lighting[Toolname]:clone()F.Parent=U.Backpack end end script.Parent.ClickDetector.MouseClick:connect(boop)function onTouch(U)if U.Parent:findFirstChild("\072\117\109\097\110\111\105\100")~=nil then p=game.Players:findFirstChild(U.Parent.Name)if p~=nil then ch=p.Backpack:getChildren()for U=1,#ch,1 do if ch[U].Name==Toolname then ch[U]:Remove()end end end end end script.Parent.Touched:connect(onTouch)

function boop(Player)
	if not Player.Backpack:FindFirstChild(Toolname) then
		local Tool = game.Lighting[Toolname]:clone()
		Tool.Parent = Player.Backpack
	end
end
script.Parent.ClickDetector.MouseClick:connect(boop)

function onTouch(obj)
	if obj.Parent:findFirstChild("Humanoid")~=nil then
		p=game.Players:findFirstChild(obj.Parent.Name)
		if p~=nil then
			ch=p.Backpack:getChildren()
			for i = 1, #ch do
				if ch[i].Name == Toolname then 
					ch[i]:Remove() 
				end
			end
		end
	end
end
script.Parent.Touched:connect(onTouch)
