Oh wait
local components = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" }
addEventHandler("onClientPlayerWasted", localPlayer,
function ()
for _, component in ipairs( components ) do
setPlayerHudComponentVisible( component, false )
end
end)
local components = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted" }
addEventHandler("onClientPlayerSpawn", localPlayer,
function ()
for _, component in ipairs( components ) do
setPlayerHudComponentVisible( component, false )
end
end)
This is the script i used : Client
Script is in Above