Close open script? (Plugin)

I’m working on a plugin, and im wondering, how do you close the currently open script?

I have tried creating a new script, opening it with plugin:OpenScript() and deleting it, but that obviously didn’t work.

Maybe try ScriptDocument:CloseAsync().

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.