Roblox Main Menu Camera code example
Example: Roblox Main Menu Camera
--Here is an example of how to set this up!
local camera = game.Workspace.CurrentCamera
local brick = game.Workspace.CameraPart
local function attach()
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = brick.CFrame
end
local function unattach()
camera.CameraType = Enum.CameraType.Follow
camera.CameraSubject = nil
end
attach()