I want to make a plugin wich can change user's script edit Color3, like
Error Color
orWarning Color
through plugin script.
local toolbar = plugin:CreateToolbar("Empty Script Adder") local newScriptButton = toolbar:CreateButton( "Script Schemes", -- Name under the icon "Create an empty Script", -- Description/Tooltip "rbxassetid://1507949215" -- Icon ) local Studio = game:GetService("Studio") local function onNewScriptButtonClicked() -- Script must be here I guess. end newScriptButton.Click:Connect(onNewScriptButtonClicked)
Link to Roblox Wiki: https://wiki.roblox.com/index.php?title=API:Class/Studio
I have not tested this in a plugin but it works from the command like. To access the settings you need to go through GlobalSettings.
change color to green
settings().Studio['Error Color'] = Color3.fromRGB(0, 255, 0)
Hope this helps.