Also what is the print(Get_Data[2]) printing?
If what I think the issue is then it should be printing out nil
Also what is the print(Get_Data[2]) printing?
If what I think the issue is then it should be printing out nil
Well, I’m right about starting from 1, because when I put the [2] with the print, it returns the value I want (BoolValue)
The error is saying the table returned is nil, which is probably caused because one of the statements are not true.
By the way, this is not true, t[0]
index doesn’t exist on tables unless you define it.
local t = {"foobar"}
print(t[0]) -- nil
Yea I know by bad. I was getting 2 different languages mixed up. I just checked the documents about it.
Sorry for any mix up
Yea ignore me sorry. I was getting 2 languages mixed up.
Thank you so much! I knew that I could return multiple values, but I did not know how to catch them with the "local foo1, foo2 = foo() ". Thank you again!!