Run it
Copy the script and paste it into your executor.
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"
mode =
Lighting.GlobalShadows =
Lighting.EnvironmentSpecularScale =
Lighting.EnvironmentDiffuseScale =
().Rendering.QualityLevel = .QualityLevel.Level01
_, v (:())
v:() v:()
v.Enabled =
()
()
mode ==
mode =
Lighting.GlobalShadows =
Lighting.EnvironmentSpecularScale =
Lighting.EnvironmentDiffuseScale =
().Rendering.QualityLevel = .QualityLevel.Automatic
_, v (:())
v:() v:()
v.Enabled =
()
RunService.RenderStepped:((dt)
fps = / dt
timer += dt
timer >= checkInterval
timer =
fps < lowFPS
()
fps > highFPS
()
)
Menos lag

Universal