Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What does this Output error mean?[Answered]

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.

1 answer

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.

1 comment

0

Thanks

This discussion is preserved as it was. New answers, comments, and votes are closed.