local hide_hud = false
-- https://wiki.facepunch.com/gmod/GM:PlayerBindPress
hook.Add("PlayerBindPress", "Test.PlayerBindPress", function(_, bind)
if (string.find(bind, "use")) then -- +use
hide_hud = !hide_hud
end
end)
hook.Add("HUDPaint", "Test.HUDPaint", function()
if...