I made a first person game, but when the player clicks on a computer, his camera locks into a part, but I want to make that when he press “E” the camera go back to the first person…
How can I do that?
Also, here’s the script:

I made a first person game, but when the player clicks on a computer, his camera locks into a part, but I want to make that when he press “E” the camera go back to the first person…
How can I do that?
Also, here’s the script:

You should probably disconnect the UserInputService event after they moved back to their default position. You should probably set the camera’s type to custom after the player pressed E.
camera.CameraType = Enum.CameraType.Custom
game.Players.LocalPlayer.CameraMode = Enum.CameraMode.LockFirstPerson