
17.4k Views
1.8k Executions
Infinite Zoom
Universal Script 📌
YallSumLzPublished 5
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Toggled using V you can then zoom out infinitely.
local UserInputService = game:GetService("UserInputService")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local camera = workspace.CurrentCamera
local isEnabled = false
local currentMaxZoom = player.CameraMaxZoomDistance
local defaultMaxZoom = 100
local function onMouseWheel(input, gameProcessed)
if not isEnabled or gameProcessed then return end
if input.UserInputType == Enum.UserInputType.MouseWheel then
local currentZoom = (camera.CFrame.Position - camera.Focus.Position).Magnitude
if input.Position.Z < 0 then
if currentZoom >= currentMaxZoom * 0.9 then
currentMaxZoom = currentMaxZoom * 1.5
player.CameraMaxZoomDistance = currentMaxZoom
end
end
end
end
local function onKeyPress(input, gameProcessed)
if gameProcessed then return end
if input.KeyCode == Enum.KeyCode.V then
isEnabled = not isEnabled
if isEnabled then
player.CameraMaxZoomDistance = currentMaxZoom
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "Infinite Zoom",
Text = "Infinite zoom enabled!",
Duration = 3
})
else
player.CameraMaxZoomDistance = defaultMaxZoom
currentMaxZoom = defaultMaxZoom








well infinite yield has that already just type maxzoom 999999999 right
[deleted]
@Vyperia on god y is he complicating it sm :sob: