← Back to Knowledgebase

Troubleshooting

Fixing attempt to index a nil value

This Lua error means the script tried to use a value that does not exist.

Common causes:
- Missing dependency
- Wrong framework object
- Resource started too early
- Config value missing
- Player data not loaded

Check the line number shown in the console and review the resource config.