---
title: "Smart Window Focus CPU Optimizer | Universal Roblox Script - ScriptBlox"
description: "Smart Window Focus CPU Optimizer for any Roblox game: Automatically reduces CPU usage when Roblox is unfocused by disabling 3D rendering and capping FPS..."
canonical_url: "https://scriptblox.com/script/Universal-Script-Smart-Window-Focus-CPU-Optimizer-115850"
meta:
  "og:description": "Smart Window Focus CPU Optimizer for any Roblox game: Automatically reduces CPU usage when Roblox is unfocused by disabling 3D rendering and capping FPS..."
  "og:image": "https://scriptblox.com/images/script/0-1771706298092.png"
  "og:title": "Smart Window Focus CPU Optimizer | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Smart Window Focus CPU Optimizer for any Roblox game: Automatically reduces CPU usage when Roblox is unfocused by disabling 3D rendering and capping FPS..."
  "twitter:image": "https://scriptblox.com/images/script/0-1771706298092.png"
  "twitter:title": "Smart Window Focus CPU Optimizer | Universal Roblox Script - ScriptBlox"
---

> Index of every page on this site: [llms.txt](https://scriptblox.com/llms.txt)

![Universal Script 📌](https://scriptblox.com/images/script/0-1771706298092.png)

# **Smart Window Focus CPU Optimizer**

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![Dawn\_Cyber200265](https://scriptblox.com/images/photo/6987373212004551b6c19ae8-1770469223473.png) [Dawn\_Cyber200265](https://scriptblox.com/u/Dawn_Cyber200265)Lv 11Published 10**

9 months ago

[**Get an executor**](https://scriptblox.com/executors?kind=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

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.

## **Updates **

1. Feb 22, 2026

   ****Script edited:**** Update script

[View Raw](https://scriptblox.com/raw/Universal-Script-Smart-Window-Focus-CPU-Optimizer-115850)

```
loadstring(game:HttpGet("https://raw.githubusercontent.com/Damix-hash/roblox-stuff/refs/heads/main/universal/cpu-unfocus.lua"))()


```

## **Comments **

**0**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-Smart-Window-Focus-CPU-Optimizer-115850)

No comments yet. Be the first!

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-Smart-Window-Focus-CPU-Optimizer-115850#script","url":"https://scriptblox.com/script/Universal-Script-Smart-Window-Focus-CPU-Optimizer-115850","name":"Smart Window Focus CPU Optimizer","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"Dawn_Cyber200265","url":"https://scriptblox.com/u/Dawn_Cyber200265"},"datePublished":"2026-02-21T20:38:18.140Z","image":"https://scriptblox.com/images/script/0-1771706298092.png","isAccessibleForFree":true}
```

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://scriptblox.com/#website","@type":"WebSite","description":"Search free Roblox scripts uploaded by the community, with live status for every major executor. Browse by game, copy the loadstring and run it in your executor.","inLanguage":"en","name":"ScriptBlox","url":"https://scriptblox.com/"},{"@id":"https://scriptblox.com/script/Universal-Script-Smart-Window-Focus-CPU-Optimizer-115850#webpage","@type":"WebPage","description":"Smart Window Focus CPU Optimizer for any Roblox game: Automatically reduces CPU usage when Roblox is unfocused by disabling 3D rendering and capping FPS...","name":"Smart Window Focus CPU Optimizer | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-Smart-Window-Focus-CPU-Optimizer-115850","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-Smart-Window-Focus-CPU-Optimizer-115850#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-Smart-Window-Focus-CPU-Optimizer-115850#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-Smart-Window-Focus-CPU-Optimizer-115850"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-Smart-Window-Focus-CPU-Optimizer-115850#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://scriptblox.com","position":1},{"@type":"ListItem","name":"Universal","item":"https://scriptblox.com/game/universal","position":2},{"@type":"ListItem","name":"Smart Window Focus CPU Optimizer","position":3}]}]}
```

## Sitemap

See the full [sitemap](https://scriptblox.com/sitemap.md) for all pages.
