Hi there! So, I'm currently developing a horror game and I'm trying to make a cool menu loading screen. My plan is to have the "Play" button and have a spooky scene in the background. I've built my scenery and placed in my play button but I can't seem to lock the camera right. I want to lock player's camera in a certain place as soon as they joined.
Below is my script.
repeat wait() until workspace.CurrentCamera
local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable camera.CFrame = (workspace.cameraLookAt.CFrame + Vector3.new(0, 0, 10))
If I've done anything wrong please correct me in the replies. Thank You!

2 comments
please put script lines
Make sure your script is a localscript, or else you cannot get currentcamera.