PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience

Custom Camera Control: Sample 1

Custom Camera Control: Sample 1

Oct 01 2018, 3:12 AM PST

local cameraHeight = 12
local cameraZOffset = 20
 
local camera = game.Workspace.CurrentCamera
local player = game.Players.LocalPlayer
 
local function setupCamera()
	camera.CFrame = CFrame.new(Vector3.new(0,cameraHeight,cameraZOffset), Vector3.new(0,cameraHeight,0))
end
setupCamera()
player.CharacterAdded:Connect(setupCamera)