Get All Open Scripts In Studio

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

From a plugin script, I want to be able to get all open scripts in studio (only for you)

  1. What is the issue? Include screenshots / videos if possible!

I’m creating a plugin (can’t tell you what it is because you might steal the idea :shushing_face:), but I need it to get all the open scripts in studio (only for you)

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I found out about StudioService.ActiveScript (StudioService | Documentation - Roblox Creator Hub), but it only lets you access the current open script.

Unfortunately, there’s no property that supports this functionality. ActiveScript is the closest you can get. Though the functionality differs, you may need to just work with ActiveScripts’ behaviour and add each currently edited script to a list or something, and tally it. It’s a slightly bummer answer but that’s as far as it goes, sorry.

try adding active scripts to a table as you go hopefully this helps idk

I think adding them to a table is alright. Thanks!

Yea, that’s what the other guy said. Thanks tho