---
title: "Anti Lag Script Open Source | Universal Roblox Script - ScriptBlox"
description: "Anti Lag Script Open Source for any Roblox game: A classic anti lag script that you can use in your scripts"
canonical_url: "https://scriptblox.com/script/Universal-Script-Anti-Lag-Script-Open-Source-129466"
meta:
  "og:description": "Anti Lag Script Open Source for any Roblox game: A classic anti lag script that you can use in your scripts"
  "og:image": "https://scriptblox.com/images/script/0-1772728854446.png"
  "og:title": "Anti Lag Script Open Source | Universal Roblox Script - ScriptBlox"
  "twitter:description": "Anti Lag Script Open Source for any Roblox game: A classic anti lag script that you can use in your scripts"
  "twitter:image": "https://scriptblox.com/images/script/0-1772728854446.png"
  "twitter:title": "Anti Lag Script Open Source | 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-1772728854446.png)

# **Anti Lag Script Open Source**

10K executions

[**Universal Script 📌**](https://scriptblox.com/game/universal)**![v3gas](https://scriptblox.com/images/photo/69525da853ead0ca9a6acd8e-1777795716215.png) [v3gas](https://scriptblox.com/u/v3gas)10K executions**

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

A classic anti lag script that you can use in your scripts

[View Raw](https://scriptblox.com/raw/Universal-Script-Anti-Lag-Script-Open-Source-129466)

```
local Players = game:GetService("Players")
local Lighting = game:GetService("Lighting")
local StarterGui = game:GetService("StarterGui")
local CoreGui = game:GetService("CoreGui")
local LocalPlayer = Players.LocalPlayer or Players.PlayerAdded:Wait()

if not game:IsLoaded() then
    game.Loaded:Wait()
end

local sharedEnv = (type(getgenv) == "function" and getgenv()) or _G
if type(sharedEnv.__UNIVERSAL_ANTILAG_UI_CLEANUP) == "function" then
    pcall(sharedEnv.__UNIVERSAL_ANTILAG_UI_CLEANUP)
end

local runtimeConnections = {}
local changedProperties = {}
local antiLagEnabled = false
local descendantConnection
local gui

local oldQualityLevel
local oldSavedQualityLevel

local function addConnection(conn)
    table.insert(runtimeConnections, conn)
    return conn
end

local function disconnectConnection(conn)
    if conn then
        pcall(function()
            conn:Disconnect()
        end)
    end
end

local function safeGet(instance, propertyName)
    local ok, value = pcall(function()
        return instance[propertyName]


```

## **Comments **

**2**

Log in to join the conversation. [**Login **](https://scriptblox.com/login?redirect=/script/Universal-Script-Anti-Lag-Script-Open-Source-129466)

![Isuckatbloxfeets's profile picture](https://scriptblox.com/images/user-default.webp)

[**Isuckatbloxfeets**](https://scriptblox.com/u/Isuckatbloxfeets)8 months ago

I love you

1

![Iias82's profile picture](https://scriptblox.com/images/photo/69a85401f9f5dab3e0272078-1772729092516.jpeg)

[**Iias82**](https://scriptblox.com/u/Iias82)9 months ago

yo its really cool! work properly. gives me 98+ fpc

1

```json
{"@context":"https://schema.org","@type":"SoftwareSourceCode","@id":"https://scriptblox.com/script/Universal-Script-Anti-Lag-Script-Open-Source-129466#script","url":"https://scriptblox.com/script/Universal-Script-Anti-Lag-Script-Open-Source-129466","name":"Anti Lag Script Open Source","programmingLanguage":"Lua","runtimePlatform":"Roblox","author":{"@type":"Person","name":"v3gas","url":"https://scriptblox.com/u/v3gas"},"datePublished":"2026-03-05T16:40:54.454Z","image":"https://scriptblox.com/images/script/0-1772728854446.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-Anti-Lag-Script-Open-Source-129466#webpage","@type":"WebPage","description":"Anti Lag Script Open Source for any Roblox game: A classic anti lag script that you can use in your scripts","name":"Anti Lag Script Open Source | Universal Roblox Script - ScriptBlox","url":"https://scriptblox.com/script/Universal-Script-Anti-Lag-Script-Open-Source-129466","breadcrumb":{"@id":"https://scriptblox.com/script/Universal-Script-Anti-Lag-Script-Open-Source-129466#breadcrumb"},"isPartOf":{"@id":"https://scriptblox.com/#website"},"mainEntity":{"@id":"https://scriptblox.com/script/Universal-Script-Anti-Lag-Script-Open-Source-129466#script"},"potentialAction":[{"@type":"ReadAction","target":["https://scriptblox.com/script/Universal-Script-Anti-Lag-Script-Open-Source-129466"]}]},{"@id":"https://scriptblox.com/script/Universal-Script-Anti-Lag-Script-Open-Source-129466#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":"Anti Lag Script Open Source","position":3}]}]}
```

## Sitemap

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