Not working!
The fieldofview is not working.
The script below is a normal script inside of Camera
wait()
script.Parent.CameraSubject = game.Workspace.Lonak
script.Parent.CameraType = Enum.CameraType.Follow
script.Parent.FieldOfView = 15
Not working!
The fieldofview is not working.
The script below is a normal script inside of Camera
wait()
script.Parent.CameraSubject = game.Workspace.Lonak
script.Parent.CameraType = Enum.CameraType.Follow
script.Parent.FieldOfView = 15
You can only modify the camera in a LocalScript. You need to put your code in a LocalScript and put it in somewhere such as in the player, their character, PlayerGui or Backpack.
I would suggest putting it in StarterGui or StarterPack so that the script will be transferred to the player's PlayerGui or Backpack respectively.
I hope my answer helped you. If it did, be sure to accept it.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
I put the script in the starterpack in a local script and It did not change
You need to reference game.Workspace.CurrentCamera instead of script.Parent in the LocalScript.