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

How to change the field of view when the character spawns?

Hello, I have a doubt...

If I want to set for example "42" field of view when I join the game, the script should be Local or normal script? Is "camera" property of StarterPlayer or Workspace?

btw if someone can give me any website to learn basic - advanced lua or the best way to learn lua, comment below please..

3 comments

0

There are no websites to help you about Roblox's LUA, except the Roblox's Developer Wiki, of course!

0

There are Tutorials in the wiki too.

0

Here is a tutorial about "Camera Manipulation" : https://www.robloxdev.com/articles/Camera-manipulation

1 answer

✓ Accepted answer

Local script:

local cam = game.Workspace.CurrentCamera
local player = game.Players.Localplayer.Name

wait(3)
cam.Type = "Scriptable"
cam.FeildOfView = 42

-When learning I just recommend going on the internet and searching up what you would like to achieve and then look for any roblox developer posts, they really help alot...

-Also AlvinBlox on youtube.

4 comments

0

AlvinBlox sucks, i never learnt anything about LUA from him.

0

And also, you don't need the LocalPlayer's name.

0

Yeah i saw AlvinBlox but it dosnt help at all, the script worked but i had to edit it like the "LocalPlayer" and some stuff but thanks for the script it worked m8.

0

i dont like AlvinBlox, he doesn't teach you, he just show a full script and that's it

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