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