In my game I have a greyscale (black and white) effect however I would like it so players can be able to toggle it on or off locally by a GUI so a player can choose whether they would like to play the game with the greyscale effect or just in normal colour, how would I do this? Any help would be massively appreciated! :)

Here is the current ColorCorrection script I have:

Light = game:GetService("Lighting")
wait(1)
Bloom = Instance.new("SunRaysEffect",Light)
Bloom.Intensity = .2
Bloom.Spread = 1
ColorCorrection = Instance.new("ColorCorrectionEffect", Light)
ColorCorrection.Brightness = .2
ColorCorrection.Contrast = .5
ColorCorrection.Saturation = -.9
ColorCorrection.TintColor = Color3.fromRGB(104, 104, 104)


script:Destroy()

2 comments

0

Does not spell out the code, but shows you a way of doing it