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

The "ON" Button Broken when you disable Bloom?

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)

1 answer

✓ Accepted answer

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)

2 comments

0

thank you i think i was just being stupid

0

happens to the best of us

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