So I have this simple code:
local Config = Parent:WaitForChild('Config'); ... local Version = Parent:WaitForChild('Version').Value;
And it always gives me the infinite yield warning. I try:
local Version = Parent.Version.Value;
And it says "Version is not a valid member of Configuration".
Here's the thing though, I have a value in Config
called Foobar
and I can access that perfectly fine.
What's happening here?
I believe your problem is that you have the path to the Version variable wrong.
local Config = script.Parent:WaitForChild('Config'); ... local Version = script.Parent:WaitForChild('Version').Value;
See if that works!