Evade Lag Switch | by justmoon56
Key RequiredUniversal

Evade Lag Switch | by justmoon56

Universal ScriptJustmoon56Justmoon56 3.4K views 4.2K executesUpdated Apr 6, 2026
3.0/ 5(5 votes)
3260% Positive
Lua Script•225 lines (5522 chars)
--[[
 WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]

-- Ultra Freeze Decoy Version (Cooldown Added 🔥)

local Player = game:GetService("Players").LocalPlayer
local UIS = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")

local PlayerGui = Player:WaitForChild("PlayerGui")

-- Remove old UI
for _,v in pairs(PlayerGui:GetChildren()) do
    if v.Name == "UltraFreezeUI" then
        v:Destroy()
    end
end

-- Save System
local Save = {
    Scale = 1,
    RGBSpeed = 1,
    Pos = UDim2.new(0.75,0,0.2,0),
    Flag = true,
    Cooldown = 1 -- You can change this
}

local OnCooldown = false

-- ScreenGui
local ScreenGui = Instance.new("ScreenGui", PlayerGui)
ScreenGui.ResetOnSpawn = false
ScreenGui.Name = "UltraFreezeUI"

-- Panel
local Panel = Instance.new("Frame", ScreenGui)
Panel.Size = UDim2.new(0,260,0,80)
Panel.Position = Save.Pos
Panel.BackgroundColor3 = Color3.fromRGB(10,15,25)
Panel.Active = true
Instance.new("UICorner", Panel)

local Stroke = Instance.new("UIStroke", Panel)
Stroke.Color = Color3.fromRGB(0,255,255)

local UIScale = Instance.new("UIScale", Panel)
UIScale.Scale = Save.Scale

-- Title
local Title = Instance.new("TextLabel", Panel)
Title.Size = UDim2.new(1,-20,0.6,0)
Title.Position = UDim2.new(0,10,0,5)
Title.BackgroundTransparency = 1
Title.Text = "FREEZE NOW"
Title.TextColor3 = Color3.fromRGB(0,255,255)
Title.Font = Enum.Font.GothamBold
Title.TextSize = 18
Title.TextXAlignment = Enum.TextXAlignment.Left

local Status = Instance.new("TextLabel", Panel)
Status.Size = UDim2.new(1,-20,0.3,0)
Status.Position = UDim2.new(0,10,0.65,0)
Status.BackgroundTransparency = 1
Status.Text = "System Ready"
Status.Font = Enum.Font.Code
Status.TextSize = 12
Status.TextColor3 = Color3.fromRGB(150,255,255)

-- Button
local Button = Instance.new("TextButton", Panel)
Button.Size = UDim2.new(1,0,1,0)
Button.BackgroundTransparency = 2
Button.Text = "By Moon"

-- Settings
local Settings = Instance.new("Frame", ScreenGui)
Settings.Size = UDim2.new(0,170,0,50)
Settings.Position = UDim2.new(0.75,0,0.35,0)
Settings.BackgroundColor3 = Color3.fromRGB(15,20,30)
Settings.Visible = false
Settings.Active = true
Instance.new("UICorner", Settings)

-- Gear Button
local Gear = Instance.new("TextButton", Panel)
Gear.Size = UDim2.new(0,30,0,30)
Gear.Position = UDim2.new(1,-35,0,5)
Gear.Text = "⚙️"
Gear.BackgroundColor3 = Color3.fromRGB(20,20,20)

Gear.MouseButton1Click:Connect(function()
    Settings.Visible = not Settings.Visible
end)

-- FFlag Toggle
local FFlagBtn = Instance.new("TextButton", Settings)
FFlagBtn.Size = UDim2.new(1,-20,0,30)
FFlagBtn.Position = UDim2.new(0,10,0,10)
FFlagBtn.Text = "FFlag: OFF"

local function ApplyFlag()
    if Save.Flag then
        pcall(function()
            setfflag("MaxMissedWorldStepsRemembered", 1000)
        end)
    else
        pcall(function()
            setfflag("MaxMissedWorldStepsRemembered", 0)
        end)
    end
end

FFlagBtn.MouseButton1Click:Connect(function()
    Save.Flag = not Save.Flag

    if Save.Flag then
        FFlagBtn.Text = "FFlag: ON"
    else
        FFlagBtn.Text = "FFlag: OFF"
    end

    ApplyFlag()
end)

-- Drag Panel
local Dragging = false
local DragInput
local DragStart
local StartPos
local UILocked = false

local function Update(input)
    local delta = input.Position - DragStart
    Panel.Position = UDim2.new(
        StartPos.X.Scale,
        StartPos.X.Offset + delta.X,
        StartPos.Y.Scale,
        StartPos.Y.Offset + delta.Y
    )
end

Button.InputBegan:Connect(function(input)
    if UILocked then return end

    if input.UserInputType == Enum.UserInputType.MouseButton1
    or input.UserInputType == Enum.UserInputType.Touch then
        
        Dragging = true
        DragStart = input.Position
        StartPos = Panel.Position

        input.Changed:Connect(function()
            if input.UserInputState == Enum.UserInputState.End then
                Dragging = false
            end
        end)
    end
end)

Button.InputChanged:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseMovement
    or input.UserInputType == Enum.UserInputType.Touch then
        DragInput = input
    end
end)

UIS.InputChanged:Connect(function(input)
    if input == DragInput and Dragging then
        Update(input)
    end
end)

-- Drag Settings
local dragging2, start2, pos2

Settings.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging2 = true
        start2 = input.Position
        pos2 = Settings.Position
    end
end)

UIS.InputChanged:Connect(function(input)
    if dragging2 then
        local delta = input.Position - start2
        Settings.Position = UDim2.new(
            pos2.X.Scale, pos2.X.Offset + delta.X,
            pos2.Y.Scale, pos2.Y.Offset + delta.Y
        )
    end
end)

UIS.InputEnded:Connect(function()
    dragging2 = false
end)

-- 🔥 Freeze + Cooldown System
Button.MouseButton1Click:Connect(function()
    if OnCooldown then
        Status.Text = "Cooldown..."
        return
    end

    OnCooldown = true
    Status.Text = "Freezing..."

    local t = os.clock()
    while os.clock() - t < 0.3 do
        for i = 1, 500000 do end
    end

    Status.Text = "Cooldown..."

    for i = Save.Cooldown, 1, -1 do
        Status.Text = "Cooldown: "..i
        task.wait(1)
    end

    Status.Text = "System Ready"
    OnCooldown = false
end)

print("Ultra Lag Switch By Moon (Cooldown Edition)")

Features & Information

Lag Switch By Moon, This is the final version and this, has no Bugs anymore. /// - Save System - Fast Flags | Toggle \\\ If you're using this lag Switch and there are my script or my lag switch please tag me On tiktok @justmoon56
#Evade

Community Comments (5)

DvloperDvloperApr 8, 2026

the script doesn't work bro

Replying to @Dvloper
Justmoon56Justmoon56Apr 8, 2026

@Dvloper Fixed

Replying to @Dvloper
Justmoon56Justmoon56Apr 8, 2026

@Dvloper use the raw script

Replying to @Justmoon56
fannuesfannuesApr 13, 2026

@Justmoon56 how gng

Snowy_lqwSnowy_lqwAug 30, 2026

Sup

More Scripts for Universal Scripts