Anyone could help me figure this out? this is for when i pick up an item it goes in my inventory but now if my inventory is full (there is 12 slots) it will try looking for the 13th slot and create an error, how could i make it detect that "i" is higher than 12?
if invslot["Slot"..i] == "Slot13" then etc end