In which folder the scripts are saved?

I think he meant the file based scripts, since he mentioned VSC.
It depends on where your OPENHAB_CONF directory is. Then it’s under

  • RulesDSL OPENHAB_CONF/rules
  • Javascript OPENHAB_CONF/automation/js
  • JRuby OPENHAB_CONF/automation/ruby