Wait for child in pairs

where would I set a wait for child in this statemeant

cam.CFrame = v["1"].CFrame

it works half the time… when it loads but also errors saying part is not inside.

If “1” is a child’s name and v is an instance, then you do:

cam.CFrame = v:WaitForChild('1').CFrame
2 Likes