Try using table.insert() instead, see where that gets you.
I can’t exactly get on Studio to test this stuff at the moment, sorry about the inconvenience.
I believe your issue is because 190 is not an increment of the previous index and thus it does not see the array as a table, but rather as a dictionary, tables are sequential arrays, meaning the indexes increase by 1, but in this case it went from 4 to 190, you’d need to either change 190 to 4 or do array[190] = nil instead
@aaltUser I can set the index to 190 using table.insert(), but once again, I cannot remove it @EmbatTheHybrid Hmm, if that’s the case then it means that I can’t set an index to a number that I want ;/.
You can set it to a number that you want, but in your case you cannot use things like table.insert, table.remove, and other table library functions on it as it’s not longer considered a table, you need to do it yourself such as array[190] = whatever and array[190] = nil, though for other functions you’ll need to figure out how to code yet