Universal Script 📌
1.2k Views
83.3k Executions

Fix Lag

10K executions
Universal Script 📌
TheCoolFemboy
TheCoolFemboy10K executions
3 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
Universal Script 📌
53
1
Approved 1 hour ago
Key System
Script hub
167.3k
1.3M
Bumped 1 hour ago
Key System
Script hub
265.5k
102.3k
Bumped 2 hours ago
Key System
Script hub
281.6k
917.0k
Bumped 5 hours ago
Key System

Script hub

#21 this week

Verified script badgeAxon Hub 60+ Games & 800+ Features

Script hub
2.1M
704.6k
Bumped 5 hours ago
Key System

Script hub

#5 today

Verified script badgeLumin Hub | #1 | Insta Steal

Universal Script 📌
30.0k
88.2k
Bumped 7 hours ago