[UPDATED] EzScript - Script setup plugin

Hello everyone!

I recently finished developing my plugin, called EzScript.

As someone who can be quite lazy when it comes to setting up code, I’d usually put off cleaning up my code or crediting myself till I was actually finished writing it.

So I came up with the idea of EzScript, it creates your scripts for you, just with basic setup already included (Author, Date, Purpose of the script), and sections to put your variables and your code.

The plugin is completley open sourced, if you wish to take a look at the code (setup is in the github)

Plugin:
https://www.roblox.com/library/7117602638/EzScript

Videos of the plugin in action:

https://gyazo.com/46bd530560702761e784abd0f91ca836
https://gyazo.com/1aef9e630e3b4b38b3f061888f80d496

Hope this is able to help anyone who needs it! Please suggest any suggestions through github or the contact details listed in the README, on the github.

Thanks for reading! I hope you find this beneficial!

3 Likes

Option to listen to the Instance created event and if it’s a script, add the default script text.

Will definitely look into that, would need to see if it’s possible to edit the script text from the instance created event (considering the instance would be made outside of the plugin). I’ll look into saving the inputted text (author), so that way it will load the defaults on to a new script, but the purpose part would probably have to be filled in via the script.

local allowed = {'Workspace',  'Lighting', 'ReplicatedFirst', 'ReplicatedStorage', 'ServerScriptService', 'ServerStorage', 'StartedGui', 'StarterPack', 'StarterPlayer', 'Teams', 'SoundService'}

for _, v in ipairs(allowed) do
    game[v].DescendantAdded:Connect(function(descendant)
        if descendant:IsA("BaseScript") then -- BaseScript for LocalScript & ServerScript, LuaSourceContainer for both + ModuleScript
            descendant.Source = "Preset Text"
        end
    end)
end

[EDIT] - This feature is now live,

1 Like

Looking good. I will use that!

1 Like

[NEW FEATURES]

Hello everyone!

Apologies for the huge delay, it’s been a crazy few months.

Here are some new features that I have added:

  • Ability to have the formats inserted to scripts automatically, as soon as they are inserted into the game via the object inserter. (This excludes the toolbox, any scripts that come from the toolbox will not have any text inserted into them)

  • Custom formats! You can now insert your own format, simply create a format you like in a separate script, then paste it into the textbox in settings, (see image below). Once your format is in, then if you have custom formats enabled, any scripts you create using the menu, or add them in via the Roblox Studio object inserter, you’re format will be loaded in. If you have custom symbols enabled and custom format, it will default to the custom format.

  • All settings are saved (apart from custom script formats - this is soon to come)

image

All of these settings can be found by clicking the gear icon on the top right.

What’s next?

I have planned for there to be options to include licensing in the scripts, I’m still
looking into this though.

I will probably add some sort of custom script creator in the plugin itself so be sure to
keep an eye out.

All these changes are live and can be used as soon as you update the plugin. I’ll update the github in the near future once I have done a lot of code cleanup.

Happy scripting!