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
You need to parent it to the current camera in a LocalScript. Example:
01 | local camera = game.Workspace:WaitForChild( "CurrentCamera" ) |
02 | function addBlur(size) |
03 | if camera:FindFirstChild( "Blur" ) then |
04 | camera.Blur:Destroy() |
05 | end |
06 | local blur = Instance.new( "BlurEffect" , camera) |
07 | blur.Name = "Blur" |
08 | blur.Size = size |
09 | blur.Enabled = true |
10 | end |