
1.2k Views
83.3k Executions
Fix Lag
10K executions
Universal Script 📌
TheCoolFemboy10K executions
3 months ago
Please login to perform these actions:Does it work?
No reports yetNo 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 =(
-- 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
0Log in to join the conversation. Login
No comments yet. Be the first!







