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

Turn on greyscale button?

Does anybody know how to make it so when you click on a GUI a player's view turns to greyscale?

2 comments

0

Scripting Helpers is not a request site

0

if my answer worked can u plz accept it :)

1 answer

What you could do is have a localscript that detects when the GUI button is pressed and then you can insert the ColorCorrection effect. Setting the saturation to a negative value makes it look grayscale.

Here's what the localscript might look like:

local guiButton = script.Parent
guiButton.MouseButton1Click:Connect(function()
	local effect = Instance.New("ColorCorrectionEffect")
	effect.Saturation = -1
	effect.Parent = game:GetService("Lighting")
end)

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