How do i hide blur in roblox studio

From the properties, the bloom would do barely anything.

image

What happens if you adjust the brightness?, or if that also doesn’t work, ExposureCompensation?

It just keeps being blurry when i do the things u say.

Any more ideas to fix this bug?

Have you checked the ColorCorrectionEffect’s brightness property already? I assumed that you have since the first person has mentioned it.

I didn’t check that yet, where do i find it?

When i removed the Blur, the blur dissapeared from my game but i don’t want that because i need it for my game start gui.

disabling GUI keeps the scripts inside it enabled I believe. disable all the scripts you may have related to blur and see if that does the trick ^^

if it works then I would recommend debugging your code to see which script does it

I see. Also, something to note is that you are using attributes to see if the game has already started. I suppose this is because when the player dies and respawns it shows the GUI right? A good work around for this is to disable the property ResetOnSpawn for the screen GUI.

Here is an updated, cleaner script.

local player = game.Players.LocalPlayer
local button = script.Parent
local screenGui = button.Parent
local blur = game.Lighting.Blur

button.MouseButton1Click:Connect(function()
	blur:Destroy()
	screenGui.Visible = false
end)

also this bit of code seems like it could mostly be responsible for the blur being enabled even after disabling the ui

That fixes the problem but then the texbutton and textlabel are not going away


So should i just replace ur code with the part that mediaformat said?

do enabled not visible and that should fix it. this code they gave should work fine if you don’t plan on using the blur again, otherwise instead of destroy do .Enabled = false


This happens when i reset while both is enabled

local players = game:GetService("Players")
local lighting = game:GetService("Lighting")
local player = players.LocalPlayer
local button = script.Parent
local screenGui = button.Parent
local blur = lighting:WaitForChild("Blur")

button.MouseButton1Click:Connect(function()
	blur.Enabled = false
	screenGui.Enabled = false
end)

should work hopefully ^^

Whoops, made a mistake.

local button = script.Parent
local screenGui = button.Parent
local blur = game.Lighting:FindFirstChild("Blur")

if not blur then return end

button.MouseButton1Click:Once(function()
	blur:Destroy()
	screenGui:Destroy()
end)

Here, this should work and this is optimized as well.


still stays on but now there’s nothing in the output

doing this will make the entire script if blur is not found haha! doing waitforchild will ensure it exists before continuing the script, which is why I recommend you disable the blur instead of destroying it

Not really. From my experience, FindFirstChild usually yields for a bit before continuing which won’t crash the script every time.

make sure that the button’s parent is indeed the gui so it properly disables. if this doesnt work maybe you could send your hierarchy??