WEAK HERO ANTI LAG
Key RequiredUniversal

WEAK HERO ANTI LAG

Universal ScriptWeakkalamaWeakkalama 698 views 1.6K executesUpdated Apr 4, 2026
Unrated
00
Lua Script•86 lines (2665 chars)
-- [[ WH ANTI-LAG TOGGLE PANEL ]] --
local ScreenGui = Instance.new("ScreenGui")
local ToggleBtn = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
local UIGradient = Instance.new("UIGradient")

-- Setup GUI
ScreenGui.Parent = game.CoreGui
ScreenGui.Name = "WH_AntiLag_GUI"

ToggleBtn.Name = "AntiLagBtn"
ToggleBtn.Parent = ScreenGui
ToggleBtn.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ToggleBtn.Position = UDim2.new(0.02, 0, 0.4, 0) -- Screen ke left side pe
ToggleBtn.Size = UDim2.new(0, 100, 0, 40)
ToggleBtn.Text = "LAG: OFF"
ToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleBtn.Font = Enum.Font.GothamBold
ToggleBtn.TextSize = 14
ToggleBtn.Draggable = true -- Isse tu button ko kahin bhi move kar sakta hai

UICorner.CornerRadius = UDim.new(0, 8)
UICorner.Parent = ToggleBtn

-- RGB Gradient Effect
UIGradient.Color = ColorSequence.new{
    ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 0)),
    ColorSequenceKeypoint.new(0.5, Color3.fromRGB(0, 255, 255)),
    ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))
}
UIGradient.Parent = ToggleBtn

-- RGB Animation logic
spawn(function()
    while true do
        for i = 0, 1, 0.01 do
            UIGradient.Rotation = i * 360
            task.wait(0.05)
        end
    end
end)

-- [[ ANTI-LAG LOGIC ]] --
local LagEnabled = false

local function BoostFPS()
    local t = game:GetService("Workspace").Terrain
    t.WaterWaveSize = 0
    t.WaterWaveSpeed = 0
    t.WaterReflectance = 0
    t.WaterTransparency = 0
    
    settings().Rendering.QualityLevel = 1
    
    for _, v in pairs(game:GetDescendants()) do
        if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") then
            v.Material = Enum.Material.SmoothPlastic
            v.Reflectance = 0
        elseif v:IsA("Decal") or v:IsA("Texture") then
            v.Transparency = 1 -- Destroy nahi kiya taaki wapas aa sake
        elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
            v.Enabled = false
        end
    end
    
    for _, v in pairs(game:GetService("Lighting"):GetChildren()) do
        if v:IsA("PostEffect") or v:IsA("BlurEffect") then
            v.Enabled = false
        end
    end
    
    game:GetService("Lighting").GlobalShadows = false
end

ToggleBtn.MouseButton1Click:Connect(function()
    if not LagEnabled then
        LagEnabled = true
        ToggleBtn.Text = "LAG: FIXED ✅"
        ToggleBtn.TextColor3 = Color3.fromRGB(0, 255, 0)
        BoostFPS()
    else
        -- Normal state ke liye rejoin ya manual reset lagta hai
        ToggleBtn.Text = "REJOIN TO RESET"
        ToggleBtn.TextColor3 = Color3.fromRGB(255, 0, 0)
    end
end)

Features & Information

BEST ANTI LAG

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts