Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Q: How to make a part into a still positioned camera with a script?

I don't have any code for this, sorry. But I need help making a part into a still positioned camera

Thanks!

1 answer

You can use these lines to create your camera --

camera.CameraType = Enum.CameraType.Scriptable -- Enables player camera to be scriptable
camera.CoordinateFrame = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0) -- Where the camera is located
game.Workspace.CurrentCamera.Focus=CFrame.new(0,0,0) -- Where the camera is focused
game.Workspace.CurrentCamera.CameraType = "Custom" -- Returns camera to player

They'll not necessarily be used in that order, but will enable you to create the camera.

This discussion is preserved as it was. New answers, comments, and votes are closed.