Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

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

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

✓ Accepted answer

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.

3 comments

0

hold on and lemme see

0

Thank you a lot. I've been experimenting with that. I'll score you some reputation.

0

Thank you, very much appreciated!

This discussion is preserved as it was. New answers, comments, and votes are closed.