local function z(p)if p and p~=Workspace then local u=p:FindFirstChild("\072\117\109\097\110\111\105\100")if u then return p,u else return z(p.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

