FPS boost
Key RequiredUniversal

FPS boost

Universal Scriptmateoszomateoszo 8K views 649 executesUpdated Feb 25, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•35 lines (1060 chars)
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local StarterGui = game:GetService("StarterGui")

local renderingEnabled = true -- Keeps track of rendering state

local function toggleRendering()
    renderingEnabled = not renderingEnabled
    
    -- Toggle 3D rendering
    RunService:Set3dRenderingEnabled(renderingEnabled)
    
    -- Toggle UI rendering
    StarterGui:SetCore("TopbarEnabled", renderingEnabled) -- Hides top bar
    for _, gui in pairs(game.Players.LocalPlayer.PlayerGui:GetChildren()) do
        if gui:IsA("ScreenGui") then
            gui.Enabled = renderingEnabled
        end
    end
    
    -- Print status to console
    if renderingEnabled then
        print("Rendering & UI Enabled!")
    else
        print("Rendering & UI Disabled! GPU usage reduced.")
    end
end

-- Detects when "L" key is pressed
UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if input.KeyCode == Enum.KeyCode.L then
        toggleRendering()
    end
end)
--by chat gpt

Features & Information

FPS boost for afk no gui press L to enable and disable disables UI and rendering good for afk
#fps boost#afk

Community Comments (3)

pejcicvojinpejcicvojinFeb 26, 2025(edited)

bro my screen js becomes white 0/10

mateoszomateoszoFeb 27, 2025(edited)

@pejcicvojin its the point 💀 it saves your gpu

pejcicvojinpejcicvojinFeb 27, 2025(edited)

bruh *ody wants that

More Scripts for Universal Scripts