How do i hide blur in roblox studio


how do i hide the blur from my starting gui?
the blur is in lightning

There should be an Enabled property inside the Blur instance, make sure its false.

1 Like

When i disable the gui and blur it works but when i test game the blur comes back on screen

Are you enabling it through a script? It might also be that your game is to bright, might be linked to the time of day, or the ColorCorrectionEffect.

I enable it like this and not through a script
image

Interesting, im not sure why else it would be on, if you are disabling it like this, is there any scripts interfering with the behaviour?

1 Like

What’s your DepthOfField settings?

2 Likes

maybe this script:

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

local playerGui = player:FindFirstChild("PlayerGui")
local screenGui = playerGui and playerGui:FindFirstChild("ScreenGui")
local textLabel = screenGui and screenGui:FindFirstChild("TextLabel")

if not player:GetAttribute("HasClicked") then
	blur.Enabled = true
	if textLabel then textLabel.Visible = true end
	button.Visible = true
else
	blur.Enabled = false
	if textLabel then textLabel.Visible = false end
	button.Visible = false
end

button.Activated:Connect(function()
	blur.Enabled = false
	if textLabel then textLabel.Visible = false end
	button.Visible = false

	player:SetAttribute("HasClicked", true)
end)

Where do i find the DepthOfField settings?

try this:

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

local playerGui = player:FindFirstChild("PlayerGui")
local screenGui = playerGui and playerGui:FindFirstChild("ScreenGui")
local textLabel = screenGui and screenGui:FindFirstChild("TextLabel")

local function updateUI()
    if not player:GetAttribute("HasClicked") then
        blur.Enabled = true
        if textLabel then textLabel.Visible = true end
        button.Visible = true
    else
        blur.Enabled = false
        if textLabel then textLabel.Visible = false end
        button.Visible = false
    end
end

updateUI()

button.Activated:Connect(function()
    blur.Enabled = false
    if textLabel then textLabel.Visible = false end
    button.Visible = false

    player:SetAttribute("HasClicked", true)
    
    updateUI()
end)

1 Like

That changes nothing to the blur.

1 Like

Maybe it’s something with the location of the script.
image

On that DepthOfField instance. DepthOfField can blur parts closer to the camera and farther from the camera.

Doesn’t seem like it’s the cause either… How about your bloom settings?

Try removing the Blur and DepthOfField instance from your game.

How about the brightness property in Lighting?

The brightness property won’t do anything. It just controls the brightness of the sun and moon.

They have bloom enabled, so that’s a possibility since bloom blurs things that are too bright (above the threshold).