Script is not finding any Instances, only workspace objects

When i try to write my code, it only writes in blue and workspace objects
Screenshot_176

I think i pressed a key bind or something but i am not sure, i tried searching far and wide for similar problems that people might have had but i found nothing.

I have no clue how to undo this. If someone knows what happened please let me know. Closing the studio and re/opening it does not work.

local whatever:w
is a local variable declaration, and after “:” you can add only type that specifies type of whatever.
Roblox studio suggests available types.
if you by any chance need objects from workspace than it can be done this way:
local object = workspace:WaitForChild("child_name")

1 Like

Thank you, i was getting frustrated and didn’t think clearly after coding for 8 hours already. I saw what dumb mistake i made haha. Of course a local pcControlsFolder is not connected to anything, its something that i just defined out of thin air xD

Thanks kind stranger!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.