function Maid.__newindex(L,r,P)local M=L._Tasks local n=M[r]if n or P==nil then local r=typeof(n)local P=r=="\116\097\098\108\101"if r=="\082\066\088\083\099\114\105\112\116\067\111\110\110\101\099\116\105\111\110"or P and n.Disconnect then n:Disconnect()elseif r=="\073\110\115\116\097\110\099\101"or P and n.Destroy then n:Destroy()end end M[r]=P end return Maid
--- Internal __newindex metamethod
function Maid:__newindex(i, v)
	local Tasks = self._Tasks
	local Task = Tasks[i]
	if Task or v == nil then -- Clear previous Task
		local Type = typeof(Task)
		local IsTable = Type == "table"
		if Type == "RBXScriptConnection" or IsTable and Task.Disconnect then
			Task:Disconnect()
		elseif Type == "Instance" or IsTable and Task.Destroy then
			Task:Destroy()
		end
	end
	Tasks[i] = v
end

return Maid
