
7.6k Views
818 Executions
Lag switch v2
Universal Script π
GuyboiFirst script
11 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Lags your game . And itβs open source :) Created by me :)
local coreGui = game:GetService("CoreGui")
local runService = game:GetService("RunService")
local userInputService = game:GetService("UserInputService")
-- SETTINGS
local LAG_DURATION = 0.12 -- lag duration (milliseconds)
local LAG_INTENSITY = 100000 -- lag intensity (I recommend, don't change this value)
local BUTTON_SIZE = Vector2.new(200, 80)
local BUTTON_TRANSPARENCY = 0.7
local OUTLINE_THICKNESS = 3
local TEXT_PADDING = 20 -- Keeps text inside the button
-- GUI Setup
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CleanLagButton"
screenGui.ResetOnSpawn = false
screenGui.Parent = coreGui
-- Main Button Container
local buttonContainer = Instance.new("Frame")
buttonContainer.Name = "ButtonContainer"
buttonContainer.Size = UDim2.new(0, BUTTON_SIZE.X, 0, BUTTON_SIZE.Y)
buttonContainer.Position = UDim2.new(0.5, -BUTTON_SIZE.X/2, 0.8, -BUTTON_SIZE.Y/2)
buttonContainer.BackgroundTransparency = 1
buttonContainer.Parent = screenGui
-- Main Button
local button = Instance.new("TextButton")
button.Name = "lag"
button.Size = UDim2.new(1, 0, 1, 0)
button.Position = UDim2.new(0, 0, 0, 0)
button.BackgroundColor3 = Color3.fromRGB(230, 46, 46)
button.BackgroundTransparency = BUTTON_TRANSPARENCY
button.Text = "LAG"
button.Font = Enum.Font.ArialBold
button.TextSize = 32
button.TextColor3 = Color3.fromRGB(255, 255, 255)
button.TextStrokeTransparency = 1
button.TextXAlignment = Enum.TextXAlignment.Center -- Center text always








not to be rude or whatever, but at line this line (local LAG_DURATION = 0.12) it isnt in milliseconds, its in seconds XD so if you ran this script without changing you would freeze for 0.12 seconds or 120 milleseconds
I prefer using desync playground to see if this is fe or not
How do I apply it tho?
i dont know if this is good or not