How would I make it so the player cameras snaps for all players?

How would I make it so the camera snaps for all players? Like a cutscene for every player in the game…

You could use a RemoteEvent to tell all clients to run a cutscene.

How would I use that in a script?

there is sample code bellow in it

function resetCamera()
    camera.CameraType = Enum.CameraType.Custom; --Sets it back to normal
end

function setCameraCFrame(cframe)
    camera.CameraType = Enum.CameraType.Scriptable; --Makes it so we can manipulate the camera's cframe
    camera.CFrame = cframe; --Sets the cframe
end

--Make two different events, one to set the camera cframe, and one to set it back to normal.
cutsceneEvent.OnClientEvent:Connect(setCameraCFrame);
resetCamera.OnClientEvent:Connect(resetCamera);

I have no idea how you exactly wanted to do this, but these functions will set/reset the camera’s cframe based on the passed arguments.

1 Like