"PartCamera isn't a valid member of workspace" even tho it is?

So, I’m trying to make a main menu and when I play the game It says:
image
even tho:
image

Here’s the line of code that gives the error: (Number 7)

I can’t figure it out because I don’t get it, it’s in workspace, and its parent to workspace so I don’t get why it would say this lol.

4 Likes

Use WaitForChild to yield the code until the child exists

local DefaultCFrame = workspace:WaitForChild("PartCamera").CFrame
3 Likes

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