Aug 23, 2024
plugin
object:
local toolBar = plugin:CreateToolbar("Custom Script Tools")
local newScriptButton = toolBar:CreateButton("Add Script", "Creates an empty script", "")
newScriptButton.Click:Connect(function()
local newScript = Instance.new("Script")
newScript.Source = ""
newScript.Parent = game:GetService("ServerScriptService")
end)
game:GetService("ChangeHistoryService"):SetWaypoint("Added a new empty script")