Im making a game that includes bloom and im trying to make a setting that disables and turns it on for pcs that are not as good, but the "ON" button does not work when you turn it off. This is the code for it:
local Bloom = game.Lighting.Bloom script.Parent.MouseButton1Down:Connect(function() Bloom.Intensity = 0.2 Bloom.Size = 17 Bloom.Threshold = 0.8 end)
Instead of changing the properties of the Bloom, try using Enabled instead. It allows you to enable or disable the bloom without the properties being affected.
local Bloom = game.Lighting.Bloom script.Parent.MouseButton1Down:Connect(function() Bloom.Enabled = true end)