Reset camera to defualt

Hello Guys, I made a script to set the current camera to a part on a main menu, and when the play button is clicked, I want to reset the camera to default Roblox follow the player.

local cc = game.Workspace.CurrentCamera
local nc = game.Workspace.Scripts.MenuCams.Cam1

wait(.001)

cc.CameraType = Enum.CameraType.Scriptable

cc.CFrame = nc.CFrame


--play clicked
script.Parent.Buttons.PlayButton.MouseButton1Down:Connect(function()
	cc.CameraType = Enum.CameraType.Fixed
end)

how do I reset the camera back? when play clicked

cc.CameraType = Enum.CameraType.Custom
cc.CameraSubject = game.Players.Character.Humanoid

2 Likes
cc.CameraType = Enum.CameraType.Custom

This might work, Custom is the default camera type !
You can see all of then here

1 Like

That Work’s Thanks For Helping

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