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

Problem with Camera script?

cam = workspace.CurrentCamera
cam.CameraType = "Scriptable"
focus = Vector3.new(0, 15.8, 0)
zoom = 70
zoomin = true

for i = 1, 200, 1 do
	if zoom == 20 then
		zoomin = false
	end
	if zoomin then
		zoom = zoom - 1 
	else
		zoom = zoom + 1
	end
	cam.FeildOfView = zoom
	pos = focus + Vector3.new(-50 + i/2, 20, -50)
	cam.CoordinateFrame = CFrame.new(pos, focus)
	wait()
end

wait(1)
cam.CameraType = "Custom"

Error: FeildOfView is not a valid member of Camera Script 'Workspace.Script', Line 16

1 answer

✓ Accepted answer

Lol, it's FieldOfView, not FeildOfView. Just a simple spelling error.

1 comment

1

Oh, lol.

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