How to delete the specified layer of ScriptModule?

How to delete the specified layer of ScriptModule?