local function f(N)if N and N~=Workspace then local o=N:FindFirstChild("\072\117\109\097\110\111\105\100")if o then return N,o else return f(N.Parent)end end return nil end

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