Hello, I'm trying to make a GUI that changes the camera position to the part, here's the script that does so:
local camera = game.Workspace.Camera wait(0.1) camera.CFrame = game.Workspace.menucamerapart.CFrame camera.CameraType = Enum.CameraType.Scriptable game.Lighting.Brightness = 0 game.Lighting.ClockTime = 0 game.Lighting.FogEnd = 20
In the output, it says "menucamerapart is not a valid member of Workspace "Workspace"
Can I get any help on this?
well if nobody else is going to answer this question in the answers then can i have reputation