So, I have a "NumberValue" instance called "Y" inside of a LocalScript.
The LocalScript is parented to a TextLabel. And the LocalScript works, it's functional.
However, the LocalScript can't find the "NumberValue" named "Y".
I've tried:
script:FindFirstChild("Y") script:FindFirstChildOfClass("NumberValue") script.Parent:FindFirstChildOfClass("LocalScript"):FindFirstChildOfClass("NumberValue")
All of those yield "nil". Yes, I've checked through explorer and "Y" is inside the LocalScript.
I have no idea what may be happening except for a FilteringEnabled issue or the LocalScript not able to index things inside of itself. I haven't tried it indexing other instances in it.
Before you ask about what's inside the script's parent, it's only the script.
Edit1:
I should also mention that, in a separate server-side script, it's able to index the "NumberValue", "Y"
script.Parent.Y --and if u made the instance trough a script do script.Parent:WaitForChild("Y") ^^