lag the game for the amount of seconds like in pc but mobile
Key RequiredUniversal

lag the game for the amount of seconds like in pc but mobile

Universal Scriptowlguy17owlguy17 374 views 517 executesUpdated Feb 11, 2026
Unrated
00
Lua Script•111 lines (3207 chars)
local player = game.Players.LocalPlayer
local gui = player:WaitForChild("PlayerGui")

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "freeze"
screenGui.Parent = gui
screenGui.ResetOnSpawn = false

local mb = Instance.new("TextButton")
mb.Name = "Minimize"
mb.Parent = screenGui
mb.Position = UDim2.new(0.5, -150, 0.5, -100)
mb.Size = UDim2.new(0, 20, 0, 20)
mb.Text = "-"
mb.TextSize = 15
mb.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
mb.TextColor3 = Color3.new(1, 1, 1)
mb.Draggable = true

local frame = Instance.new("Frame")
frame.Name = "Frame"
frame.Parent = screenGui
frame.Position = UDim2.new(0.5, -100, 0.5, -60)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
frame.BorderSizePixel = 2
frame.BorderColor3 = Color3.fromRGB(255, 255, 255)
frame.BackgroundTransparency = 0
frame.Draggable = true

local freezeBtn = Instance.new("TextButton")
freezeBtn.Parent = frame
freezeBtn.Size = UDim2.new(0, 150, 0, 40)
freezeBtn.Position = UDim2.new(0.5, 0, 0.5, -40)
freezeBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 200)
freezeBtn.Font = Enum.Font.SourceSansBold
freezeBtn.TextColor3 = Color3.new(1, 1, 1)
freezeBtn.TextSize = 24
freezeBtn.Text = "FREEZE"
freezeBtn.AnchorPoint = Vector2.new(0.5, 0.5)

local tdel = Instance.new("TextBox")
tdel.Name = "tdel"
tdel.Parent = frame
tdel.Size = UDim2.new(0, 150, 0, 40)
tdel.Position = UDim2.new(0.5, 0, 0.5, 40)
tdel.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
tdel.BackgroundTransparency = 0
tdel.Text = ""
tdel.PlaceholderText = "Type"
tdel.TextColor3 = Color3.new(1, 1, 1)
tdel.TextSize = 20
tdel.ClearTextOnFocus = false
tdel.TextScaled = false
tdel.BorderColor3 = Color3.fromRGB(255, 255, 255)
tdel.AnchorPoint = Vector2.new(0.5, 0.5)

local UIS = game:GetService("UserInputService")

local dragging = false
local startPos
local startFrame

frame.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1
    or input.UserInputType == Enum.UserInputType.Touch then
        
        dragging = true
        startPos = input.Position
        startFrame = frame.Position
    end
end)

UIS.InputChanged:Connect(function(input)
    if dragging then
        if input.UserInputType == Enum.UserInputType.MouseMovement
        or input.UserInputType == Enum.UserInputType.Touch then

            local delta = input.Position - startPos

            frame.Position = UDim2.new(
                startFrame.X.Scale,
                startFrame.X.Offset + delta.X,
                startFrame.Y.Scale,
                startFrame.Y.Offset + delta.Y
            )
        end
    end
end)

UIS.InputEnded:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1
    or input.UserInputType == Enum.UserInputType.Touch then
        
        dragging = false
    end
end)

frame.Size = UDim2.new(0, tdel.Size.X.Offset + 25, 0, tdel.Size.Y.Offset + freezeBtn.Size.Y.Offset + 20)

freezeBtn.MouseButton1Click:Connect(function()
    local userinput = tonumber(tdel.Text)
    local endTime = tick() + userinput
    while tick() < endTime do
    end
end)

mb.MouseButton1Click:Connect(function()
    state = not state
    frame.Visible = not state
    mb.Text = state and "+" or "-"
end)

Features & Information

there is a button to minimize it insert in the textbox the amount of seconds the game will be freezed then tap FREEZE to apply the game will be unfreezed after the amount of seconds passed
#lag#mobile lag#lag button

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts