Key Required
120 fps
Lua Script•110 lines (3338 chars)
-- Wait for the game to fully load
if not game:IsLoaded() then
game.Loaded:Wait()
end
-- Services
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local CoreGui = game:GetService("CoreGui")
local player = Players.LocalPlayer
-- Create GUI container
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "FPSBoostGUI"
ScreenGui.ResetOnSpawn = false
-- Safe parent for executors
if syn and syn.protect_gui then
syn.protect_gui(ScreenGui)
ScreenGui.Parent = CoreGui
elseif gethui then
ScreenGui.Parent = gethui()
else
ScreenGui.Parent = CoreGui
end
-- Create Button
local ToggleButton = Instance.new("TextButton")
ToggleButton.Name = "ActivateButton"
ToggleButton.Size = UDim2.new(0, 160, 0, 50)
ToggleButton.Position = UDim2.new(0.05, 0, 0.1, 0)
ToggleButton.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
ToggleButton.BorderColor3 = Color3.fromRGB(0, 255, 128)
ToggleButton.BorderSizePixel = 2
ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleButton.TextSize = 14
ToggleButton.Font = Enum.Font.SourceSansBold
ToggleButton.Text = "120 FPS & Anti-Lag: OFF"
ToggleButton.Active = true
ToggleButton.Draggable = true -- Allows you to drag the button around your screen
ToggleButton.Parent = ScreenGui
-- Corner radius for a modern look
local UICorner = Instance.new("UICorner")
UICorner.CornerRadius = UDim.new(0, 8)
UICorner.Parent = ToggleButton
-- State variables
local isActive = false
local antiLagConnection = nil
-- Function to apply Anti-Lag optimizations
local function applyAntiLag()
-- Disable heavy rendering elements
for _, obj in ipairs(workspace:GetDescendants()) do
if obj:IsA("ParticleEmitter") or obj:IsA("Trail") or obj:IsA("Smoke") or obj:IsA("Fire") or obj:IsA("Sparkles") then
obj.Enabled = false
elseif obj:IsA("Explosion") then
obj.Visible = false
end
end
-- Automatically clean up new particles spawned in the game
antiLagConnection = workspace.DescendantAdded:Connect(function(obj)
if obj:IsA("ParticleEmitter") or obj:IsA("Trail") or obj:IsA("Smoke") or obj:IsA("Fire") or obj:IsA("Sparkles") then
obj.Enabled = false
end
end)
end
-- Function to remove Anti-Lag optimizations
local function removeAntiLag()
if antiLagConnection then
antiLagConnection:Disconnect()
antiLagConnection = nil
end
end
-- Button Click Logic
ToggleButton.MouseButton1Click:Connect(function()
isActive = not isActive
if isActive then
-- TURN ON
ToggleButton.Text = "120 FPS & Anti-Lag: ON"
ToggleButton.BackgroundColor3 = Color3.fromRGB(0, 128, 64)
-- Unlock FPS (Works if the executor supports setfpscap)
if setfpscap then
setfpscap(120)
end
-- Lock physics/render step to help stabilize performance
settings().Rendering.QualityLevel = Enum.QualityLevel.Level01
applyAntiLog = applyAntiLag()
else
-- TURN OFF
ToggleButton.Text = "120 FPS & Anti-Lag: OFF"
ToggleButton.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
-- Reset FPS cap to default
if setfpscap then
setfpscap(60)
end
removeAntiLag()
end
end)Features & Information
DON'T ENTER IN THE GAME JUST COPY SCRIPT
Community Comments (0)
No comments yet for this script.
