Zuprizer
(Hugge)
#1
So, I’m trying to make a main menu and when I play the game It says:
![image](//devforum-uploads.s3.dualstack.us-east-2.amazonaws.com/uploads/original/5X/9/8/f/4/98f4a02e0cd4f64b9aeb628c6ccac11410bb283b.png)
even tho:
![image](/secure-uploads/uploads/original/5X/f/e/8/e/fe8e2e48f4fb503f0df01cd2e8c649b9b7659d32.png)
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
system
(system)
Closed
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.