local function v(v,f)while not v:FindFirstChild(f)do v.ChildAdded:wait()end return v[f]end local f=script.Parent local q=v(f,"\072\097\110\100\108\101")local z=false local W function OnTouched(v)local f=v.Parent:findFirstChild("\072\117\109\097\110\111\105\100")if z==false then z=true if f then else q.Ting:Play()end end wait(.5)z=false end f.Equipped:connect(function()W=q.Touched:connect(OnTouched)end)f.Unequipped:connect(function()if W then W:disconnect()W=nil end end)

local function WaitForChild(parent, childName)
	while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
	return parent[childName]
end


local Tool = script.Parent
local Handle = WaitForChild(Tool, 'Handle')
local Debounce = false

local TouchConnection


function OnTouched(hit)
	local humanoid = hit.Parent:findFirstChild('Humanoid')
	if Debounce == false then
		Debounce = true
		if humanoid then
			
		else
			Handle.Ting:Play()
		end
	end
	wait(0.5)
	Debounce = false
end


Tool.Equipped:connect(function()
	TouchConnection = Handle.Touched:connect(OnTouched)
end)

Tool.Unequipped:connect(function()
	if TouchConnection then
		TouchConnection:disconnect()
		TouchConnection = nil
	end
end)
