There should be an Enabled
property inside the Blur
instance, make sure its false.
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
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?
What’s your DepthOfField settings?
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)
That changes nothing to the blur.
Maybe it’s something with the location of the script.
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).