What's the best way to reset a player's camera

So I’m doing something that manipulates the camera. Thing is that I have to reset it after a while. What would be the best way to do this?

12 Likes

This depends on how you want the camera to reset.

If you want to reset back to a view on the character, you could do something like…

camera.CameraSubject = character.Humanoid
camera.CameraType = "Custom"
camera.CFrame = character.Head.CFrame

For other cases, you could probably just save the original CFrame, like so:

local original_CF = camera.CFrame
--manipulate camera
camera.CFrame = original_CF

Hope this helps.

47 Likes

@H3kken Please elaborate on what you want to achieve. It is not clear what you mean by “reset”.

You should also include what you have tried so far, and anything else that will help us to understand the problem.

I know I am late replying but I think if u change the camera type to custom then it will go back to default

2 Likes

sorry for the 3 years delay lol

2 Likes