Attempt to get length of a nil value (upvalue 'Properties')

hello, i have problem with my property script, I’ve been trying for 2 days to fix it but nothing.
I would appreciate any help or idea. thanks



1 Like

If you take a look at the error that is thrown, it is referencing your variable “Properties”, which you dimmed equal to nothing, UNLESS “PropertiesList”, so this means that your properties variable might not be getting the information you want it to be filled with, instead it is empty. This could be the way you did the “If” statement with PropertiesList, however it looks fine to me, unfortunately I will not be able to give you an easy fix, although I do hope someone else does, but if I were you I would relook at my code for PropertiesList and declaring what is in Properties, sometimes playing around with code works. Also, whenever you are trying to reference Properties, try checking if it is not equal to nil before running the code.

the niil value missing. ty

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.