Hey, I am currently working on a game with a weapon system and I am trying to make a skin system, the idea is that there is a area in witch you enter the ID of the skin (1-10) and it apply’s it to your weapon. My current system with choosing a ID from a table does not work and gets the error " bad argument #3 to ‘TextureID’ (string expected, got nil)"
yes but you can type in any value, so you could type in banana. It is through a textbox where the player enters a value, when I test the value 1 and try to change the skin I get the error, im asking how can I fix the error and make the table work.