⭐ 'Optifine' Zoom Script
Key RequiredUniversal

⭐ 'Optifine' Zoom Script

Universal Scriptskemskem 10.7K views 415 executesUpdated Feb 13, 2022
5.0/ 5(3 votes)
30100% Positive
Lua Script•24 lines (780 chars)
local oldZoom = game.Workspace.CurrentCamera.FieldOfView

local Settings = {
    ZoomTime = 0.2,
    ZoomedAmount = 10
}

local function createZoom(time, amount)
    local Tween_Info = TweenInfo.new(time, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut) 
    local Tween = game:GetService("TweenService"):Create(game.Workspace.CurrentCamera, Tween_Info, {FieldOfView = amount})
    return Tween
end

game:GetService("UserInputService").InputBegan:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.C then
        createZoom(Settings.ZoomTime, Settings.ZoomedAmount):Play()
    end
end)

game:GetService("UserInputService").InputEnded:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.C then
        createZoom(Settings.ZoomTime, oldZoom):Play()
    end
end)

Features & Information

Basic zoom / FOV script for any game, the lower the 'ZoomedAmount' the more it zooms in. 10 is the recommended number. Double executing will not work, I recommend you play around with the number if you aren't happy with 10. First-person is also recommended. BIND: C
#zoom#optifine#universal

Community Comments (3)

zenyazenyaFeb 13, 2022(edited)

minecraft?

VampireKillerVampireKillerFeb 13, 2022(edited)

Finally i can now play minecraft copy games with optifine and esp mods

casofe6027casofe6027Mar 16, 2022(edited)

finally i can play roblox without the ugly *** 60 FOV

More Scripts for Universal Scripts