As far as i know, there is no "ResetOnSpawn" property for blur lighting effects, so im trying to use a script to manually set the size of the blur back to 0 on death/reset, this is what i've tried but hasn't worked. I'm running this from a LocalScript.

local Blur = game.Lighting.InventoryUIBlur

game.Players.PlayerAdded:Connect(function(Player)
 Player.CharacterAdded:Connect(function(Char)
	Char.Humanoid.Died:Connect(function()
		Blur.Size = 0	
  end)
 end)
end)

I don't seem to be getting anything in the output relating to this script, if anyone could help that would be nice.