attempt to index field 'GrassyField' (a nil value)
GrassyField(IntValue) is in a model called MapValues in Lighting, I'm trying to make a gui map voting system and its not working out, can someone please help me.
attempt to index field 'GrassyField' (a nil value)
GrassyField(IntValue) is in a model called MapValues in Lighting, I'm trying to make a gui map voting system and its not working out, can someone please help me.
This error message means that it can't find the GrassyField. If you were trying to access the amount of votes that the GrassyField has it would be:
GrassyFieldVotes = game.Lighting.MapValues.GrassyField.Value
Use that variable to get the amount of votes if you didn't do that.
Make sure that the value doesn't move out of where you indexed it before the script runs! I hope this helped you as it is a very complicated standard.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thanks