TTT Give health to T?

Okay so i am messing around with the addon “powerrounds”, what I’m trying to do is add a Juggernaut round. The only thing I don’t know is how to code for health?

Basically i just want a bit of code, (or a page that tells me) to change hp, if you could tell me how i would target a T with such code that would be great, but that’s not necessary.

Thanks!


local function SetTraitorHealth( ply )
   if ( ply:GetRole() == ROLE_TRAITOR ) then
      ply:SetHealth( ply:Health() + 100 )
   end
end

hook.Add( “PlayerSpawn”, “Juggernaut”, SetTraitorHealth )

Thanks a lot! c: