local components = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted","radar" } 
function removeHud() 
for _, component in ipairs( components ) do 
     setPlayerHudComponentVisible(component ,false) 
end 
end 
addEventHandler("onClientPlayerSpawn", root, removeHud)