Im trying to copy one of my old scripts but I cant seem to get con[1] not to have the orange line under it.
Heres what it looks like in the old script
Im trying to copy one of my old scripts but I cant seem to get con[1] not to have the orange line under it.
Heres what it looks like in the old script
This is because it’s not a variable declared outside the function, meaning that it’s trying to assign a value to a non-existent variable.
To fix this in your case, just declare a local con
outside of the function.
thank you I found it
local con = {}
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.