Pls help with this error

attempt to index a nil value (field ‘integer index’)

At least provide some code… but it seems you are trying to access something out of the bounds of the array.