✓ Accepted answer
Four things. First, to check if a value is less than it's <, greater than is >, equal to is ==, greater than or equal to is >=, less than or equal to is <=. Second, why are you manually changing rgb to 0-1 scale?? Use Colore.fromRgb() it converts rgb to 0-1 for you! Like color3.fromRGB(255,255,255), which of course is converted to 1,1,1, both being white. Third, if it is a member of "ValueBase" which is basically any and every value instance including what your using, which is an invaluable, you gotta read the attribute not the instance. Workspacr.ValueName is the instance, the VALUE attribute of it is workspace.ValueName.Value. fourth of all, why did you post here? You could have found all this on the wiki, or forums, or articles. Please look through the internet thoroughly before asking here.
Anyway hope this helps :3
1 comment
found out that the problem most likly is int value detection, still cant find anything that works tho