Where does the camera go?

I am making a minimap with ViewpointFrames, but the camera simply vanishes and script does not work…

-- The LocalScript.
wait(1)
print(script.Parent:GetFullName())
while true do
	task.wait()
	script.Parent.CFrame = CFrame.new(Vector3.new(game.Workspace["DAF XF"].DriveSeat.Position.X, game.Workspace["DAF XF"].DriveSeat.Position.Y, game.Workspace["DAF XF"].DriveSeat.Position.Z)*CFrame.Angles(-90, 0, 0))
end

2 Likes

is your viewport frame set up correctly? (can I see the properties of it)

1 Like

Anyways found out, the game destroys any camera that the character does not use.

To bypass this, you need to create a script, that creates the camera.

1 Like

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