local Settings = { Enabled = false } local Network = game:GetService("NetworkClient") local RunService = game:GetService("RunService") local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local ScreenGui = Instance.new("ScreenGui", LocalPlayer.PlayerGui) ScreenGui.ResetOnSpawn = false local Main = Instance.new("Frame", ScreenGui) Main.Size = UDim2.new(0, 160, 0, 70) Main.Position = UDim2.new(0.5, -80, 0.8, 0) Main.BackgroundColor3 = Color3.fromRGB(15, 15, 15) Main.BorderSizePixel = 2 Main.BorderColor3 = Color3.fromRGB(0, 255, 255) Main.Active = true Main.Draggable = true local Btn = Instance.new("TextButton", Main) Btn.Size = UDim2.new(0.9, 0, 0.8, 0) Btn.Position = UDim2.new(0.05, 0, 0.1, 0) Btn.Text = "LAG: OFF" Btn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) Btn.TextColor3 = Color3.new(1, 1, 1) Btn.Font = Enum.Font.SourceSansBold Btn.TextSize = 20 Btn.Activated:Connect(function() Settings.Enabled = not Settings.Enabled Btn.Text = Settings.Enabled and "LAG: ON" or "LAG: OFF" Btn.BackgroundColor3 = Settings.Enabled and Color3.fromRGB(200, 0, 0) or Color3.fromRGB(40, 40, 40) if Settings.Enabled then settings().Network.IncomingReplicationLag = 1000 else settings().Network.IncomingReplicationLag = 0 end end) RunService.Heartbeat:Connect(function() if Settings.Enabled then for _, v in pairs(LocalPlayer.Character:GetDescendants()) do if v:IsA("BasePart") then v.Velocity = Vector3.new(0, 0, 0) end end end end)