I am making a starting screen, the background is the camera looking at the lobby. But the camera only stays at the position for a second, I can’t find the problem in my script. Does anyone know how to fix it?
here is the script (located in StarterPack)
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Camera = game.workspace.CurrentCamera
repeat wait()
Camera.CameraType = Enum.CameraType.Scriptable
until Camera.CameraType == Enum.CameraType.Scriptable
Camera.CFrame = workspace.StarterCamera.CFrame
But you would have to make a part that faces the Lobby. Then you could add a script in your button so whenever the user clicks it the Camera returns to the Player.
I saw it in a tutorial I watched about Camera Manipulation and I just used it ever since I used Camera Manipulation. Do we not need it ? You could test it to see if it works.