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

How do i make this blur effect visible? [SOLVED]

I am making a low health blur effect i have the blur effect in the player's gui however i did some testing because it wasnt appearing it would only show in lighting so i was wondering is there a way to fix this? or even a way to change a blur effect in lighting for 1 player but not for the rest? please tell me

1 answer

✓ Accepted answer

You need to parent it to the current camera in a LocalScript. Example:

local camera = game.Workspace:WaitForChild("CurrentCamera")
function addBlur(size)
	if camera:FindFirstChild("Blur") then
		camera.Blur:Destroy()
	end
	local blur = Instance.new("BlurEffect", camera)
	blur.Name = "Blur"
	blur.Size = size
	blur.Enabled = true
end

1 comment

0

I used what you said and just made it so it doesnt use a function :) thanks!

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