Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

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

✓ Accepted answer

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.