After installing custom HUD original one (hl2 hud) doesn't disappear

Just look at that


remove the original hud textures

cl_drawhud 0

This command disable hud lol
custom hud too

Put this in a clientside file. Your hud file would be a good place.
local HUDHide = {
[“CHudHealth”] = true,
[“CHudBattery”] = true,
[“CHudAmmo”] = true,
[“CHudSecondaryAmmo”] = true
hook.Add(“HUDShouldDraw”, “HideDefaultHUD”, function(name)
if HUDHide[name] then return false end