
5.7k Views
414 Executions
simple afk script
Universal Script 📌
mateoszoFirst script
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
you can limit fps disable rending disable UI rendering
Updates
Script edited: Create script
-- ✅ 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
0Log in to join the conversation. Login
No comments yet. Be the first!






