How you could use this function to check if a weapon slot was empty or not.
functionIsSlotEmpty( ply, slot )
slot = slot -1-- take away 1 from the slot number you want since it starts from 0for _, v inipairs( ply:GetWeapons() ) do-- get all the weapons the player has and loop through themifv:GetSlot() == slot thenreturnfalseend-- check if the slot is the slot you wanted to check, if it is, return falseendreturntrue-- otherwise return trueend