Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I change Studion Script Edit Color3 through plugin script?

Asked by 6 years ago

I want to make a plugin wich can change user's script edit Color3, like
Error Color or Warning 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

1 answer

Log in to vote
0
Answered by 6 years ago

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.

Ad

Answer this question