of     1   

kazu212
#215884382Thursday, May 04, 2017 12:29 AM GMT

Does anyone know how to fix this error or what causes it
PhantomVisual
#215886129Thursday, May 04, 2017 12:54 AM GMT

Click the error an it might lead you to the problem.
Unsubtleties
#215886782Thursday, May 04, 2017 1:04 AM GMT

It means that you're trying to index an upvalue that can't be indexed.
letris
#215886892Thursday, May 04, 2017 1:06 AM GMT

^ ~lots to learn, you still have
jumpykilldestroy
#215887166Thursday, May 04, 2017 1:10 AM GMT

it happens when you try to index an upvalue that cant be indexed for example trying to index a number value: local num=0 local function func() --'num' is an upvalue in this function local var=num[1] --attempts to index a number end func() if you try to run the script above it gives this error: attempt to index upvalue 'num' (a number value) if you have no idea what an upvalue is its an external local variable like in the above example
kazu212
#215928989Thursday, May 04, 2017 8:39 PM GMT

How would you fix the num?

    of     1