I am trying to make a script inwhich it changes the field of view when activated. It needs to be the local player's camera so only that player's field of view changes. I just don't know what I should do to edit the Camera's properties
Tool.Activated:connect(function() SlashAnimLoaded:Play() game.Players.LocalPlayer. ???.FieldOfView = 20 --??? is where I don't know what to put to find the camera. end)
Any help?
Use CurrentCamera, so long as the script is local.
Tool.Activated:connect(function() SlashAnimLoaded:Play() workspace.CurrentCamera.FieldOfView = 20 end)