There is a :SetMaxHealth code in GMod that sets how high a player’s health can go, but there isn’t one for armor. Does anyone have a script for that?
Armor can only go up to 255 max, that’s a limit set in the game. If you want to get around it you’ll need to write your own armor system.
or just detour ply:SetArmor()
Is there a way to set the cap under 255? Like after 50 armor, a player can no longer gain armor?
as robbo said… detour ply:SetArmor()