HUD Removal

how can i make a function return false?
such as ephud.load() = false
so that i can make it so Spectators dont see it in my gamemode?
such as:

if ply:Team() == 3 then
if ephud.load()
then return false
PS: Team 3 = spectator.

ephud.load() = false
Ok first I don’t think adding false to that would work.
Second, the hell is this? Show us the whole code. We can’t figure out what the hell this hud is. And given the fact of the .load() there is probably .unload() or something.