Universal Script 📌
1.6k Views
112.6k Executions

Fix Lag

100K executions
Universal Script 📌
TheCoolFemboy
TheCoolFemboy100K executions
4 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

Fix lag on every games Script for me not for you =)) Don't blamming about the thumbnail i don't have time =(

View Raw
-- SCRIPT FIX LAG TOÀN NĂNG CHO MỌI GAME ROBLOX (UNIVERSAL NO-GFX CÓ GUI KÉO THẢ)
local CoreGui = game:GetService("CoreGui")
local Workspace = game:GetService("Workspace")
local Lighting = game:GetService("Lighting")
local UserInputService = game:GetService("UserInputService")
local Camera = Workspace.CurrentCamera

-- 1. Tạo Giao Diện Không Bị Reset Khi Chết
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "Universal_AntiLag_GUI"
ScreenGui.ResetOnSpawn = false

pcall(function() ScreenGui.Parent = CoreGui end)
if not ScreenGui.Parent then
    ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
end

-- Tạo nút bấm Toggle
local ToggleButton = Instance.new("TextButton")
ToggleButton.Name = "ToggleButton"
ToggleButton.Size = UDim2.new(0, 140, 0, 40)
ToggleButton.Position = UDim2.new(0, 10, 0.4, 0)
ToggleButton.BackgroundColor3 = Color3.fromRGB(255, 60, 60) -- Màu đỏ (Đang Tắt)
ToggleButton.Text = "Universal Lag: OFF"
ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleButton.Font = Enum.Font.SourceSansBold
ToggleButton.TextSize = 14
ToggleButton.BorderSizePixel = 0
ToggleButton.ClipsDescendants = true
ToggleButton.Parent = ScreenGui

local UICorner = Instance.new("UICorner")
UICorner.CornerRadius = UDim.new(0, 8)
UICorner.Parent = ToggleButton

-- 2. Hệ Thống Kéo Thả Di Chuyển (PC & Mobile)
local dragging, dragInput, dragStart, startPos
local function update(input)
    local delta = input.Position - dragStart
    ToggleButton.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
308.8k
1.1M
Bumped 54 minutes ago
Key System

Script hub

#17 this month

Verified script badgeAxon Hub | 100+ Games & 3900+ Features

Universal Script 📌
1.5k
2.8k
Bumped 2 hours ago
Script hub
3.5M
832.7k
Bumped 2 hours ago
Key System

Script hub

Hall of Fame #7

Verified script badgeFlow Hub | 50 Games | Updated

Script hub
350
2.5k
Bumped 3 hours ago
Key System
Universal Script 📌
39.9k
1.3M
Bumped 3 hours ago
Script hub
22.6k
127.7k
Bumped 3 hours ago
Universal Script 📌
240
329
Bumped 4 hours ago
Universal Script 📌
472.9k
8.8M
Bumped 4 hours ago