local function H(G)if G and G~=Workspace then local n=G:FindFirstChild("\072\117\109\097\110\111\105\100")if n then return G,n else return H(G.Parent)end end return nil end
-- find the character associated with a part if there is one.
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
