Hello, there… I have encountered a problem where the BlurEffect size isn’t changing after the player touched a part where it supposed to change the size of the Blur. No errors are popping up in Output. Is there something i’m doing wrong?
Here is the code:
local function onTouched(part)
local h =part.Parent:FindFirstChild("Humanoid")
local blur =game.Lighting
if h then
blur = 0
end
end
script.Parent.Touched:connect(onTouched)