Camera Subject Problem

I tried to change the camera multiple times but it hasn’t worked. To put it in context, when I attempted to edit the camera subject using a script, it’d show the sky and not the earth and the moon.

Here’s an image:

Here’s the script:

workspace.CurrentCamera.CameraSubject = workspace.Camera2

Here’s where the script is at:

image

Here’s the part:

image(I put a selection box to this part since it is invisible).

Here’s what I want the player to see:

Is workspace.Camera2 anchored? Might not be a solution but just a question, anchoring the camera part could be very useful.

It wasn’t anchored, tried anchoring it and it didn’t work.

I still need help on this topic!

Doubt it will work, but might as well try.

repeat wait()
	workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
until workspace.CurrentCamera.CameraType == Enum.CameraType.Scriptable
workspace.CurrentCamera.CFrame = workspace.Camera2.CFrame

To change it back:

workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
1 Like