Universal Script πŸ“Œ
7.6k Views
818 Executions

Lag switch v2

Universal Script πŸ“Œ
Guyboi
GuyboiFirst script
11 months ago
Get an 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

Lags your game . And it’s open source :) Created by me :)

View Raw

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


Comments

4
Log in to join the conversation. Login
KuroKoodo's profile picture
KuroKoodoKeyless Creator
Keyless Script Creator Badge
Keyless Script Creator
3 months ago

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

1
Animationguy's profile picture
Animationguy3 months ago

I prefer using desync playground to see if this is fe or not

1
Ashieash's profile picture
Ashieash7 months ago

How do I apply it tho?

1
TEAMSXLLYJOINNOW's profile picture
TEAMSXLLYJOINNOW8 months ago

i dont know if this is good or not

1

Tags

More universal scripts

See all