for i,v in next, getreg() do if typeof(v)=="function" and islclosure(v) and not is_synapse_function(v) then if typeof(rawget(getfenv(v),"script"))~="Instance" then getreg()[i] = function() end end end end