Reset camera to player?

Hello, I’m making a camera script for the main menu but, how can reset the player camera?

local cc =  workspace.CurrentCamera

local pc = workspace.PlayCam
local dmc = workspace.DmCam

local pb = script.Parent.Playbutton

wait(0.001)

cc.CameraType =  Enum.CameraType.Scriptable

cc.CFrame =  pc.CFrame

Thanks for help :smiley:

2 Likes

just do

workspace.CurrentCamera.CameraType = Enum.CameraType.Custom
2 Likes

Thanks, but I saw Valkyrop comment before and it worked but thanks again

1 Like