game:GetService("RunService").RenderStepped:connect(function()
if (distort > 0.001) then
cam.CoordinateFrame=cam.CoordinateFrame*CFrame.new(0,0,0,distort,0,0,0,distort,0,0,0,1)
distort = distort - 0.001
end
end)
found this on the dev forum… Its a Camera FOV Higher than 120 script. What is the cam variable? local cam = game.Workspace.CurrentCamera didnt work… So what is it?
workspace.CurrentCamera works fine as the cam variable for me
local cam = workspace.CurrentCamera
local distort = 1
game:GetService("RunService").RenderStepped:connect(function()
if (distort > 0.001) then
cam.CoordinateFrame=cam.CoordinateFrame*CFrame.new(0,0,0,distort,0,0,0,distort,0,0,0,1)
distort = distort - 0.001
end
end)
local cam = workspace.CurrentCamera
local distort = 1
game:GetService("RunService").RenderStepped:connect(function()
if (distort > 0.001) then
cam.CoordinateFrame=cam.CoordinateFrame*CFrame.new(0,0,0,distort,0,0,0,distort,0,0,0,1)
distort = distort - 0.001
end
end)