addHook("ThinkFrame", function() for player in players.iterate if (player.cmd.buttons & BT_CUSTOM2) then player.rings = player.rings + 1 end end end)