|
| 21 Nov 2015 01:45 PM |
| What does this error mean? "Attempt to index field "blah blah blah (A nil value)" |
|
|
| Report Abuse |
|
|
Zaxerion
|
  |
| Joined: 09 Feb 2013 |
| Total Posts: 2304 |
|
|
| 21 Nov 2015 01:46 PM |
| usually, the given argument was nil |
|
|
| Report Abuse |
|
|
| |
|
chugmilk
|
  |
| Joined: 28 May 2011 |
| Total Posts: 5756 |
|
|
| 21 Nov 2015 01:58 PM |
@Zax WOW YOU CAN READ!
I'm always watching.... ┬┴┬┴┤ ༼ຈل͜├┬┴┬┴ |
|
|
| Report Abuse |
|
|
Zaxerion
|
  |
| Joined: 09 Feb 2013 |
| Total Posts: 2304 |
|
|
| 21 Nov 2015 01:59 PM |
| No, I told him what it means. Do not get an attitude with me, as you clearly are a worse scripter than me. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2015 02:00 PM |
Can also be when the index in a table or metatable is nil.
Etc
Instance.new('Part').Naim = 'This will error'
Errors:
Attempted to index field "Naim" ( A nil value ) |
|
|
| Report Abuse |
|
|
Zaxerion
|
  |
| Joined: 09 Feb 2013 |
| Total Posts: 2304 |
|
|
| 21 Nov 2015 02:02 PM |
| hmm good point, i was more thinking of a function. But i guess that works too, not just nil parameters. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2015 02:10 PM |
| What about PlayerGui's? It throws me that error "Attempted to index field "PlayerGui" (a nil value) |
|
|
| Report Abuse |
|
|