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

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