local function A(U)if U and U~=workspace then local l=U:FindFirstChildOfClass("\072\117\109\097\110\111\105\100")if l then return U,l else return A(U.Parent)end end return nil end local function U(A,U)for A,l in pairs(A)do if l==U then return true end end return false end

local function FindCharacterAncestor(subject)
	if subject and subject ~= workspace then
		local humanoid = subject:FindFirstChildOfClass('Humanoid')
		if humanoid then
			return subject, humanoid
		else
			return FindCharacterAncestor(subject.Parent)
		end
	end
	return nil
end

local function IsInTable(Table,Value)
	for _,v in pairs(Table) do
		if v == Value then
			return true
		end
	end
	return false
end
