Universal Script 📌
5.7k Views
414 Executions

simple afk script

Universal Script 📌
mateoszo
mateoszoFirst script
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

you can limit fps disable rending disable UI rendering

Updates

  1. Script edited: Create script

View Raw
-- ✅ Load Orion Library
local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/jensonhirst/Orion/main/source')))()

-- Services
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local StarterGui = game:GetService("StarterGui")
local Players = game:GetService("Players")

local player = Players.LocalPlayer
local playerGui = player:FindFirstChild("PlayerGui")

local uiVisibilityState = {}

-- Default states (inverted logic)
local afkMode = false -- Start with AFK mode OFF (Rendering & UI enabled)
local fpsLimit = 60 -- Default FPS limit

-- Store UI states
if playerGui then
    for _, gui in pairs(playerGui:GetChildren()) do
        if gui:IsA("ScreenGui") then
            uiVisibilityState[gui] = gui.Enabled
        end
    end
end

-- ✅ Toggle Rendering
local function toggleRendering(state)
    RunService:Set3dRenderingEnabled(state)
    print(state and "✅ 3D Rendering Enabled!" or "❌ 3D Rendering Disabled!")
end

-- ✅ Toggle UI
local function toggleUI(state)
    StarterGui:SetCore("TopbarEnabled", state)

    if playerGui then
        for _, gui in pairs(playerGui:GetChildren()) do
            if gui:IsA("ScreenGui") then


Comments

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

More universal scripts

See all
Universal Script 📌
2
0
Approved 10 minutes ago
Universal Script 📌
7
1
Approved 18 minutes ago
Universal Script 📌
23
1
Approved 38 minutes ago
Universal Script 📌
26
6
Approved 40 minutes ago
Universal Script 📌
15
2
Approved 43 minutes ago
Universal Script 📌
23
0
Approved 48 minutes ago
Paid