So, you can either just set it to the maximum value a number can be in Lua, which is something like 2 billion, or if you think anyone would ever eclipse that (they won’t) you could use a boolean value.
IntValue’s have a maximum integer of 9223372036854775807 (2^63 - 1). That is an insanely high value and I don’t think under normal conditions someone would reach that.
Also if you are worried then try setting the “weight” of something in their inventory to 0.
If you post your code that handles the gamepass I can tweak it a bit to make it infinite storage, but I think it isn’t necessary to store math.huge in any way, you could simply just create a condition statement seeing if the gamepass is owned by the player, and then allow the player to keep adding more items to their inventory.