Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to fix using FieldOfView; am I supposed to use it?

Asked by 4 years ago

Basically what I am trying to do is make the camera go in and out, but for some reason it's not working. I'm using FieldOfView and here is my code:

while true do
  workspace.CurrentCamera.FieldOfView = 10
  wait(1)
  workspace.CurrentCamera.FieldOfView = 70
  wait(1)
end

What the code is doing in my game is ABSOLUTELY NOTHING!

1 answer

Log in to vote
1
Answered by
D3VRO 66
4 years ago

Are you using a local script or server script and where did you place the script? I tested it out using a local script and added it in StarterPlayerScripts and it seemed to work fine.

0
hold on and lemme see User#29913 36 — 4y
0
Thank you a lot. I've been experimenting with that. I'll score you some reputation. User#29913 36 — 4y
0
Thank you, very much appreciated! D3VRO 66 — 4y
Ad

Answer this question