Run it
Copy the script and paste it into your executor.
loadstring(game:HttpGet("https://raw.githubusercontent.com/Damix-hash/roblox-stuff/refs/heads/main/universal/cpu-unfocus.lua"))()Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com.
Automatically reduces CPU usage when Roblox is unfocused by disabling 3D rendering and capping FPS. Restores your settings when the window is focused. Lightweight, fully automatic, and reads your actual MaxFrameRate. Not an anti-AFK script.