Universal Script 📌
923 Views
32 Executions

Qualidade melhor

Universal Script 📌
Meno_dluxo77
Meno_dluxo77First script
11 months 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

Menos lag

View Raw
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")

-- Configurações
local lowFPS = 25       -- abaixo disso ativa modo leve
local highFPS = 50      -- acima disso ativa modo qualidade
local checkInterval = 1 -- checar FPS a cada 1 segundo

local fps = 60
local timer = 0
local mode = "normal"

local function setLowQuality()
    if mode == "low" then return end
    mode = "low"

    -- Iluminação mais leve
    Lighting.GlobalShadows = false
    Lighting.EnvironmentSpecularScale = 0
    Lighting.EnvironmentDiffuseScale = 0.2
    settings().Rendering.QualityLevel = Enum.QualityLevel.Level01

    -- Diminui partículas
    for _, v in ipairs(workspace:GetDescendants()) do
        if v:IsA("ParticleEmitter") or v:IsA("Beam") then
            v.Enabled = false
        end
    end

    print("⚠️ MODO DESEMPENHO ATIVADO (menos lag)")
end

local function setHighQuality()
    if mode == "high" then return end
    mode = "high"

    -- Iluminação bonita
    Lighting.GlobalShadows = true
    Lighting.EnvironmentSpecularScale = 1
    Lighting.EnvironmentDiffuseScale = 1


Comments

6
Log in to join the conversation. Login
gomesdev7's profile picture
gomesdev72 months ago

So trava

1
gomesdev7's profile picture
gomesdev72 months ago

Ainda fez tudo errado

1
gomesdev7's profile picture
gomesdev72 months ago

Made in chat gpt

1
Kaepy's profile picture
Kaepy11 months ago

Único trabalho dele foi pedir pra IA fazer... e fez tudo errado ainda.

1
4Mine's profile picture
4Mine11 months ago

e esse script do chat gpt ai? kkkkkkk

1
zivoria's profile picture
zivoria11 months ago

AI

1

More universal scripts

See all
Script hub
262.9k
88.1k
Bumped 19 minutes ago
Key System
Universal Script 📌
2.1k
9.4k
Bumped 49 minutes ago
Universal Script 📌
50
10
Approved 1 hour ago
Universal Script 📌
53
8
Approved 1 hour ago
Universal Script 📌
50
3
Approved 1 hour ago