Universal Script πŸ“Œ
8.0k Views
1.2k Executions

Lag switch v2

Universal Script πŸ“Œ
Guyboi
GuyboiFirst script
1 year 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
Syntraa's profile picture
SyntraaKeyless Creator
Keyless Script Creator Badge
Keyless Script Creator
4 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
Animationguy4 months ago

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

1
Ashieash's profile picture
Ashieash8 months ago

How do I apply it tho?

1
TEAMSXLLYJOINNOW's profile picture
TEAMSXLLYJOINNOW9 months ago

i dont know if this is good or not

1

Tags

More universal scripts

See all
Script hub
33.0k
298.0k
Bumped 7 minutes ago
Script hub
23.6k
5.2k
Bumped 8 minutes ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
159
524
Bumped 37 minutes ago
Universal Script πŸ“Œ
1.6k
30.2k
Bumped 38 minutes ago
Script hub
4.1M
558.5k
Bumped 1 hour ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.4k
28.8k
Bumped 2 hours ago
Key System
Script hub
14.0k
28.4k
Bumped 3 hours ago
Universal Script πŸ“Œ
339.0k
75.0k
Bumped 3 hours ago