I have been scripting for about 3 years now and recently when making scripts I have encountered this error. If I have a script that is a child of some odd amount of objects that calls on another object and changes aspects of it. For Ex.
script.Parent.RemoteEventExample.OnClientEvent:Connect(function()
print("Example")
end
There will be a Red line under RemoteEventExample saying: W000 Key"RemoteEventExample" not found in Class “Whatever script.Parent.Name is” But whenever I use those scripts they don’t error and they work perfectly fine. Is this a bug or do I need to do something different?
Even if I was to do script.Parent[“Example”] it still gets underlined, same thing for FindFistChild or WaitForChild. But yes I do think they are both related. It has been happening for around 5 days now.
This has happened after the more highlighting update
Keeps yelling something along the lines of “x not found in y” followed with the methods that y has before that line. Basically:
this = {}
this.foo = function()
this.bar() -- highlight
end
this.bar = function()
this.foo() -- no highlight
end