Universal Script 📌
2.3k Views
173 Executions

Cant Zoom Out

Universal Script 📌
4321
4321Published 5
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Cant Zoom Out Anymore

View Raw
local player = game.Players.LocalPlayer
local camera = player.CameraMaxZoomDistance

-- Set zoom to the minimum (first-person)
player.CameraMaxZoomDistance = 0.5
player.CameraMinZoomDistance = 0.5

-- Prevent zooming out
player:GetPropertyChangedSignal("CameraMaxZoomDistance"):Connect(function()
    player.CameraMaxZoomDistance = 0.5
end)

player:GetPropertyChangedSignal("CameraMinZoomDistance"):Connect(function()
    player.CameraMinZoomDistance = 0.5
end)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

Tags

More universal scripts

See all
Universal Script 📌
525.7k
336.7k
Bumped 33 minutes ago
Script hub
2.4k
2.2k
Bumped 2 hours ago
Key System
Universal Script 📌
138
14
Approved 2 hours ago
Script hub
2.8M
661.5k
Bumped 3 hours ago
Key System

Script hub

#4 today

Verified script badgeFlow Hub | 35 Games | Updated

Universal Script 📌
174
20
Approved 4 hours ago