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

Field of view randomiser, doesn't seem to work whats wrong?

So basically I need to know from my script I did a random Fov, it doesn't work

wait(10.8)
while true do
	game.Workspace.Camera.FieldOfView = math.random(0,70)
end

1 comment

0

I think something is wrong with this script, But i dont know it. (For now)

1 answer

while wait(.1) do
    game.Workspace.Camera.FieldOfView = math.random(0,70)
end

You didn't add a wait. Your script probably crashed itself.

2 comments

0

Don't worry I tested it myself it should work now

0

It says the fieldofview is out of range.

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