Unresponsive script when editing conditions