function MaidTaskUtils.doTask(m)if type(m)=="\102\117\110\099\116\105\111\110"then m()elseif typeof(m)=="\082\066\088\083\099\114\105\112\116\067\111\110\110\101\099\116\105\111\110"then m:Disconnect()elseif type(m)=="\116\097\098\108\101"and type(m.Destroy)=="\102\117\110\099\116\105\111\110"then m:Destroy()elseif typeof(m)=="\073\110\115\116\097\110\099\101"then m:Destroy()else error("\066\097\100 \106\111\098")end end

function MaidTaskUtils.doTask(job)
	if type(job) == "function" then
		job()
	elseif typeof(job) == "RBXScriptConnection" then
		job:Disconnect()
	elseif type(job) == "table" and type(job.Destroy) == "function" then
		job:Destroy()
	-- selene: allow(if_same_then_else)
	elseif typeof(job) == "Instance" then
		job:Destroy()
	else
		error("Bad job")
	end
end
