I'm trying to make a camera manipulation script for a cut-scene intro, and I'm new to FE and I cant get my script to work. It works perfectly in studio but now in the real game. I have a local script in StarterPlayerScripts which is this
camera = game.Workspace.CurrentCamera
game.ReplicatedStorage.camera.camera1.OnServerEvent:Connect(function()
local target = game.Workspace.Cameras.cam1
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = target
camera.CoordinateFrame = CFrame.new(target.Position)
* CFrame.Angles(0, 6.25, 0)
* CFrame.new(0, 0, 0)
end)
game.ReplicatedStorage.camera.camera3.OnServerEvent:Connect(function()
local target = game.Workspace.Cameras.cam3
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = target
camera.CoordinateFrame = CFrame.new(target.Position)
* CFrame.Angles(0, 6.25, 0)
* CFrame.new(0, 0, 0)
end)
And a main script which fires the remote events also in StarterPlayerScripts
camera = game.ReplicatedStorage.camera
wait(2)
camera.camera1:FireServer()
wait(3)
camera.camera2:FireServer()
can someone please help with this? I've been stuck with this for a while with no result!

6 comments
I always thought Camera was a client object...
I tried client and I produced an error in the game
For now, add prints and see if the script is actually running, tbh. What is the error you're getting anyways?
I must have done something wrong, because I changed it back to client and there is no errors but nothing is happening!
What does your client script look like and is it running at all (prints)?
No it is not printing...