Universal Script 📌
7.6k Views
1.1k Executions

Better smoother camera

Universal Script 📌
Govemeban800
Govemeban800Published 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

Blur + fov changer + sigma iphone mode+ jamaican smile + those who know💀

Updates

  1. Script edited: Create script

View Raw
local lighting = game:GetService("Lighting")
local player = game.Players.LocalPlayer
local camera = workspace.CurrentCamera

local blurEffect = Instance.new("BlurEffect")
blurEffect.Size = 0
blurEffect.Parent = lighting

local minFOV = 30
local maxFOV = 70
local maxBlurSize = 10

local lastCameraCFrame = camera.CFrame
local targetBlurSize = 0

local function updateEffects()
    local character = player.Character
    if character and character:FindFirstChild("HumanoidRootPart") then
        local distance = (camera.CFrame.Position - character.HumanoidRootPart.Position).Magnitude
        local newFOV = math.clamp(maxFOV - (distance / 10), minFOV, maxFOV)
        camera.FieldOfView = newFOV

        local rotationDifference = (lastCameraCFrame.Position - camera.CFrame.Position).Magnitude
        targetBlurSize = math.clamp(rotationDifference * 2, 0, maxBlurSize)
        
        blurEffect.Size = blurEffect.Size + (targetBlurSize - blurEffect.Size) * 0.1
        lastCameraCFrame = camera.CFrame
    end
end

game:GetService("RunService").RenderStepped:Connect(updateEffects)


Comments

1
Log in to join the conversation. Login
K00p's profile picture
K00p2 years ago(edited)

ligma

1

Tags

More universal scripts

See all
Script hub
50.6k
320.1k
Bumped 15 minutes ago

Script hub

Nameless Admin

Script hub
176.7k
1.6M
Bumped 2 hours ago
Key System
Script hub
46.5k
11.5k
Bumped 4 hours ago
Key System
Paid
Script hub
2.5M
798.8k
Bumped 5 hours ago
Key System

Script hub

#9 today

Verified script badgeLumin Hub | #1 | Insta Steal