-- works mainly on delta For mobile and pc! --by me (system) and Gemini (ui) local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local Lighting = game:GetService("Lighting") local CoreGui = game:GetService("CoreGui") local DISCORD_INVITE = "https://discord.gg/ExYuGhJkM" local player = Players.LocalPlayer local function getGuiParent() local ok, result = pcall(function() return gethui and gethui() end) if ok and result then return result end local okCore, core = pcall(function() return CoreGui end) if okCore and core then return core end return player:WaitForChild("PlayerGui") end local parentGui = getGuiParent() local existing = parentGui:FindFirstChild("FpsBoosterLiquidGlassUI") if existing then existing:Destroy() end local screenGui = Instance.new("ScreenGui") screenGui.Name = "FpsBoosterLiquidGlassUI" screenGui.ResetOnSpawn = false screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling screenGui.Parent = parentGui local function copyToClipboard(text) if typeof(setclipboard) == "function" then local ok = pcall(setclipboard, text) if ok then return true end end if typeof(toclipboard) == "function" then local ok = pcall(toclipboard, text) if ok then return true end end if typeof(set_clipboard) == "function" then local ok = pcall(set_clipboard, text) if ok then return true end end local env = (typeof(getgenv) == "function" and getgenv()) or _G if env and typeof(env.setclipboard) == "function" then local ok = pcall(env.setclipboard, text) if ok then return true end end return false end local function makeDraggable(dragHandle, targetFrame, onClickCallback) local dragging = false local moved = false local dragInput = nil local dragStart = Vector2.zero local startPos = targetFrame.Position dragHandle.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true moved = false dragStart = input.Position startPos = targetFrame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false if not moved and onClickCallback then onClickCallback() end end end) end end) dragHandle.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if dragging and input == dragInput then local delta = input.Position - dragStart if delta.Magnitude > 5 then moved = true end targetFrame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end) end local function addLiquidGlassLayer(container, cornerRadius) local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, cornerRadius) corner.Parent = container local stroke = Instance.new("UIStroke") stroke.Thickness = 1.2 stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border stroke.Color = Color3.fromRGB(255, 255, 255) stroke.Transparency = 0.68 stroke.Parent = container local strokeGrad = Instance.new("UIGradient") strokeGrad.Rotation = 135 strokeGrad.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(0.45, Color3.fromRGB(195, 225, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(120, 145, 190)) }) strokeGrad.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0.25), NumberSequenceKeypoint.new(0.5, 0.78), NumberSequenceKeypoint.new(1, 0.45) }) strokeGrad.Parent = stroke local bgGrad = Instance.new("UIGradient") bgGrad.Rotation = 145 bgGrad.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(0.5, Color3.fromRGB(220, 235, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(175, 200, 240)) }) bgGrad.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0.76), NumberSequenceKeypoint.new(0.55, 0.88), NumberSequenceKeypoint.new(1, 0.80) }) bgGrad.Parent = container local sheen = Instance.new("Frame") sheen.Name = "LiquidSheen" sheen.Size = UDim2.new(1, 0, 0.46, 0) sheen.Position = UDim2.new(0, 0, 0, 0) sheen.BackgroundColor3 = Color3.fromRGB(255, 255, 255) sheen.BackgroundTransparency = 0.86 sheen.BorderSizePixel = 0 sheen.ZIndex = container.ZIndex + 1 sheen.Parent = container local sheenCorner = Instance.new("UICorner") sheenCorner.CornerRadius = UDim.new(0, cornerRadius) sheenCorner.Parent = sheen local sheenGrad = Instance.new("UIGradient") sheenGrad.Rotation = 90 sheenGrad.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0.65), NumberSequenceKeypoint.new(1, 1) }) sheenGrad.Parent = sheen end local mainFrame = Instance.new("Frame") mainFrame.Name = "MainGlassPanel" mainFrame.Size = UDim2.new(0, 248, 0, 162) mainFrame.Position = UDim2.new(0.5, -124, 0.5, -81) mainFrame.BackgroundColor3 = Color3.fromRGB(28, 34, 48) mainFrame.BackgroundTransparency = 0.32 mainFrame.BorderSizePixel = 0 mainFrame.Visible = false mainFrame.Active = true mainFrame.Parent = screenGui addLiquidGlassLayer(mainFrame, 20) local titleLabel = Instance.new("TextLabel") titleLabel.Name = "HeaderTitle" titleLabel.Size = UDim2.new(1, -46, 0, 34) titleLabel.Position = UDim2.new(0, 14, 0, 4) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "fps booster :3" titleLabel.TextColor3 = Color3.fromRGB(245, 248, 255) titleLabel.TextSize = 17 titleLabel.Font = Enum.Font.GothamBold titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.ZIndex = mainFrame.ZIndex + 2 titleLabel.Parent = mainFrame local closeButton = Instance.new("TextButton") closeButton.Name = "CloseButton" closeButton.Size = UDim2.new(0, 28, 0, 28) closeButton.Position = UDim2.new(1, -36, 0, 7) closeButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255) closeButton.BackgroundTransparency = 0.84 closeButton.BorderSizePixel = 0 closeButton.Text = "X" closeButton.TextColor3 = Color3.fromRGB(255, 255, 255) closeButton.TextSize = 14 closeButton.Font = Enum.Font.GothamBold closeButton.AutoButtonColor = false closeButton.ZIndex = mainFrame.ZIndex + 3 closeButton.Parent = mainFrame local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(1, 0) closeCorner.Parent = closeButton local closeStroke = Instance.new("UIStroke") closeStroke.Thickness = 1 closeStroke.Color = Color3.fromRGB(255, 255, 255) closeStroke.Transparency = 0.65 closeStroke.Parent = closeButton local divider = Instance.new("Frame") divider.Name = "Divider" divider.Size = UDim2.new(1, -24, 0, 1) divider.Position = UDim2.new(0, 12, 0, 42) divider.BackgroundColor3 = Color3.fromRGB(255, 255, 255) divider.BackgroundTransparency = 0.82 divider.BorderSizePixel = 0 divider.ZIndex = mainFrame.ZIndex + 2 divider.Parent = mainFrame local statusLabel = Instance.new("TextLabel") statusLabel.Name = "StatusLabel" statusLabel.Size = UDim2.new(0.56, 0, 0, 24) statusLabel.Position = UDim2.new(0, 14, 0, 58) statusLabel.BackgroundTransparency = 1 statusLabel.Text = "OFF" statusLabel.TextColor3 = Color3.fromRGB(210, 218, 235) statusLabel.TextSize = 14 statusLabel.Font = Enum.Font.GothamBold statusLabel.TextXAlignment = Enum.TextXAlignment.Left statusLabel.ZIndex = mainFrame.ZIndex + 2 statusLabel.Parent = mainFrame local toggleTrack = Instance.new("TextButton") toggleTrack.Name = "ToggleButton" toggleTrack.Size = UDim2.new(0, 62, 0, 32) toggleTrack.Position = UDim2.new(1, -76, 0, 54) toggleTrack.BackgroundColor3 = Color3.fromRGB(70, 80, 105) toggleTrack.BackgroundTransparency = 0.35 toggleTrack.BorderSizePixel = 0 toggleTrack.Text = "" toggleTrack.AutoButtonColor = false toggleTrack.ZIndex = mainFrame.ZIndex + 3 toggleTrack.Parent = mainFrame local toggleCorner = Instance.new("UICorner") toggleCorner.CornerRadius = UDim.new(1, 0) toggleCorner.Parent = toggleTrack local toggleStroke = Instance.new("UIStroke") toggleStroke.Thickness = 1.1 toggleStroke.Color = Color3.fromRGB(255, 255, 255) toggleStroke.Transparency = 0.65 toggleStroke.Parent = toggleTrack local toggleKnob = Instance.new("Frame") toggleKnob.Name = "Knob" toggleKnob.Size = UDim2.new(0, 24, 0, 24) toggleKnob.Position = UDim2.new(0, 4, 0.5, -12) toggleKnob.BackgroundColor3 = Color3.fromRGB(255, 255, 255) toggleKnob.BorderSizePixel = 0 toggleKnob.ZIndex = toggleTrack.ZIndex + 1 toggleKnob.Parent = toggleTrack local knobCorner = Instance.new("UICorner") knobCorner.CornerRadius = UDim.new(1, 0) knobCorner.Parent = toggleKnob local discordButton = Instance.new("TextButton") discordButton.Name = "DiscordButton" discordButton.Size = UDim2.new(1, -28, 0, 34) discordButton.Position = UDim2.new(0, 14, 0, 104) discordButton.BackgroundColor3 = Color3.fromRGB(88, 101, 242) discordButton.BackgroundTransparency = 0.28 discordButton.BorderSizePixel = 0 discordButton.Text = "DISCORD" discordButton.TextColor3 = Color3.fromRGB(248, 250, 255) discordButton.TextSize = 13 discordButton.Font = Enum.Font.GothamBold discordButton.AutoButtonColor = false discordButton.ZIndex = mainFrame.ZIndex + 3 discordButton.Parent = mainFrame addLiquidGlassLayer(discordButton, 12) local iconButton = Instance.new("ImageButton") iconButton.Name = "OpenIconButton" iconButton.Size = UDim2.new(0, 52, 0, 52) iconButton.Position = UDim2.new(0, 22, 0.5, -26) iconButton.BackgroundColor3 = Color3.fromRGB(32, 40, 58) iconButton.BackgroundTransparency = 0.3 iconButton.BorderSizePixel = 0 iconButton.AutoButtonColor = false iconButton.Visible = true iconButton.Parent = screenGui addLiquidGlassLayer(iconButton, 16) local iconRing = Instance.new("Frame") iconRing.Name = "GlassIconMark" iconRing.Size = UDim2.new(0, 22, 0, 22) iconRing.Position = UDim2.new(0.5, -11, 0.5, -11) iconRing.BackgroundTransparency = 1 iconRing.ZIndex = iconButton.ZIndex + 2 iconRing.Parent = iconButton local ringCorner = Instance.new("UICorner") ringCorner.CornerRadius = UDim.new(1, 0) ringCorner.Parent = iconRing local ringStroke = Instance.new("UIStroke") ringStroke.Thickness = 2.2 ringStroke.Color = Color3.fromRGB(255, 255, 255) ringStroke.Transparency = 0.15 ringStroke.Parent = iconRing local boltTop = Instance.new("Frame") boltTop.Name = "BoltTop" boltTop.Size = UDim2.new(0, 3, 0, 11) boltTop.Position = UDim2.new(0.5, -2, 0.5, -8) boltTop.Rotation = 22 boltTop.BackgroundColor3 = Color3.fromRGB(255, 255, 255) boltTop.BackgroundTransparency = 0.12 boltTop.BorderSizePixel = 0 boltTop.ZIndex = iconButton.ZIndex + 3 boltTop.Parent = iconRing local boltBottom = Instance.new("Frame") boltBottom.Name = "BoltBottom" boltBottom.Size = UDim2.new(0, 3, 0, 11) boltBottom.Position = UDim2.new(0.5, -1, 0.5, -2) boltBottom.Rotation = 22 boltBottom.BackgroundColor3 = Color3.fromRGB(255, 255, 255) boltBottom.BackgroundTransparency = 0.12 boltBottom.BorderSizePixel = 0 boltBottom.ZIndex = iconButton.ZIndex + 3 boltBottom.Parent = iconRing local copyingFeedback = false discordButton.MouseButton1Click:Connect(function() if copyingFeedback then return end copyingFeedback = true local copied = copyToClipboard(DISCORD_INVITE) discordButton.Text = copied and "COPIED" or "NO CLIPBOARD" TweenService:Create(discordButton, TweenInfo.new(0.16), { BackgroundColor3 = copied and Color3.fromRGB(55, 195, 130) or Color3.fromRGB(190, 75, 95) }):Play() task.delay(1.2, function() discordButton.Text = "DISCORD" TweenService:Create(discordButton, TweenInfo.new(0.18), { BackgroundColor3 = Color3.fromRGB(88, 101, 242) }):Play() copyingFeedback = false end) end) local boostEnabled = false local savedLighting = {} local savedTerrain = {} local modifiedParts = setmetatable({}, { __mode = "k" }) local modifiedEffects = setmetatable({}, { __mode = "k" }) local modifiedLightingChildren = setmetatable({}, { __mode = "k" }) local currentFps = 60 local frameCounter = 0 local lastFpsTick = os.clock() local function isCharacterDescendant(inst) for _, plr in ipairs(Players:GetPlayers()) do if plr.Character and inst:IsDescendantOf(plr.Character) then return true end end return false end local function optimizeInstance(inst) if not boostEnabled or not inst or not inst.Parent then return end if isCharacterDescendant(inst) then return end if inst:IsA("BasePart") then if not modifiedParts[inst] then modifiedParts[inst] = { Material = inst.Material, CastShadow = inst.CastShadow, Reflectance = inst.Reflectance } end pcall(function() inst.Material = Enum.Material.SmoothPlastic inst.CastShadow = false inst.Reflectance = 0 end) elseif inst:IsA("ParticleEmitter") or inst:IsA("Trail") or inst:IsA("Smoke") or inst:IsA("Fire") or inst:IsA("Sparkles") then if modifiedEffects[inst] == nil then modifiedEffects[inst] = inst.Enabled end pcall(function() inst.Enabled = false end) elseif inst:IsA("PostEffect") then if modifiedLightingChildren[inst] == nil then modifiedLightingChildren[inst] = inst.Enabled end pcall(function() inst.Enabled = false end) end end local function applyBoost() savedLighting.GlobalShadows = Lighting.GlobalShadows savedLighting.FogEnd = Lighting.FogEnd savedLighting.EnvironmentDiffuseScale = Lighting.EnvironmentDiffuseScale savedLighting.EnvironmentSpecularScale = Lighting.EnvironmentSpecularScale pcall(function() Lighting.GlobalShadows = false Lighting.FogEnd = 100000 Lighting.EnvironmentDiffuseScale = 0 Lighting.EnvironmentSpecularScale = 0 end) local terrain = workspace:FindFirstChildOfClass("Terrain") if terrain then savedTerrain.WaterWaveSize = terrain.WaterWaveSize savedTerrain.WaterWaveSpeed = terrain.WaterWaveSpeed savedTerrain.WaterReflectance = terrain.WaterReflectance savedTerrain.WaterTransparency = terrain.WaterTransparency pcall(function() terrain.WaterWaveSize = 0 terrain.WaterWaveSpeed = 0 terrain.WaterReflectance = 0 terrain.WaterTransparency = 0 end) end for _, child in ipairs(Lighting:GetChildren()) do optimizeInstance(child) end task.spawn(function() local descendants = workspace:GetDescendants() for i = 1, #descendants do if not boostEnabled then break end optimizeInstance(descendants[i]) if i % 350 == 0 then task.wait() end end end) end local function restoreBoost() pcall(function() if savedLighting.GlobalShadows ~= nil then Lighting.GlobalShadows = savedLighting.GlobalShadows end if savedLighting.FogEnd ~= nil then Lighting.FogEnd = savedLighting.FogEnd end if savedLighting.EnvironmentDiffuseScale ~= nil then Lighting.EnvironmentDiffuseScale = savedLighting.EnvironmentDiffuseScale end if savedLighting.EnvironmentSpecularScale ~= nil then Lighting.EnvironmentSpecularScale = savedLighting.EnvironmentSpecularScale end end) local terrain = workspace:FindFirstChildOfClass("Terrain") if terrain then pcall(function() if savedTerrain.WaterWaveSize ~= nil then terrain.WaterWaveSize = savedTerrain.WaterWaveSize end if savedTerrain.WaterWaveSpeed ~= nil then terrain.WaterWaveSpeed = savedTerrain.WaterWaveSpeed end if savedTerrain.WaterReflectance ~= nil then terrain.WaterReflectance = savedTerrain.WaterReflectance end if savedTerrain.WaterTransparency ~= nil then terrain.WaterTransparency = savedTerrain.WaterTransparency end end) end for child, wasEnabled in pairs(modifiedLightingChildren) do if child and child.Parent then pcall(function() child.Enabled = wasEnabled end) end end table.clear(modifiedLightingChildren) for effect, wasEnabled in pairs(modifiedEffects) do if effect and effect.Parent then pcall(function() effect.Enabled = wasEnabled end) end end table.clear(modifiedEffects) task.spawn(function() local count = 0 for part, props in pairs(modifiedParts) do if part and part.Parent then pcall(function() part.Material = props.Material part.CastShadow = props.CastShadow part.Reflectance = props.Reflectance end) end count += 1 if count % 350 == 0 then task.wait() end end table.clear(modifiedParts) end) end workspace.DescendantAdded:Connect(function(inst) if boostEnabled then optimizeInstance(inst) end end) Lighting.ChildAdded:Connect(function(inst) if boostEnabled then optimizeInstance(inst) end end) RunService.RenderStepped:Connect(function() frameCounter += 1 local now = os.clock() if now - lastFpsTick >= 0.5 then currentFps = math.floor((frameCounter / (now - lastFpsTick)) + 0.5) frameCounter = 0 lastFpsTick = now if boostEnabled then statusLabel.Text = "ON | " .. tostring(currentFps) .. " FPS" end end end) local function updateToggleVisual(state, instant) local tweenInfo = instant and TweenInfo.new(0) or TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out) if state then statusLabel.Text = "ON | " .. tostring(currentFps) .. " FPS" statusLabel.TextColor3 = Color3.fromRGB(165, 255, 205) TweenService:Create(toggleTrack, tweenInfo, { BackgroundColor3 = Color3.fromRGB(55, 195, 130), BackgroundTransparency = 0.22 }):Play() TweenService:Create(toggleKnob, tweenInfo, { Position = UDim2.new(1, -28, 0.5, -12) }):Play() else statusLabel.Text = "OFF" statusLabel.TextColor3 = Color3.fromRGB(210, 218, 235) TweenService:Create(toggleTrack, tweenInfo, { BackgroundColor3 = Color3.fromRGB(70, 80, 105), BackgroundTransparency = 0.35 }):Play() TweenService:Create(toggleKnob, tweenInfo, { Position = UDim2.new(0, 4, 0.5, -12) }):Play() end end updateToggleVisual(false, true) toggleTrack.MouseButton1Click:Connect(function() boostEnabled = not boostEnabled updateToggleVisual(boostEnabled, false) if boostEnabled then applyBoost() else restoreBoost() end end) local function openPanel() mainFrame.Position = UDim2.new( iconButton.Position.X.Scale, iconButton.Position.X.Offset, iconButton.Position.Y.Scale, iconButton.Position.Y.Offset ) mainFrame.Size = UDim2.new(0, 52, 0, 52) mainFrame.Visible = true iconButton.Visible = false TweenService:Create(mainFrame, TweenInfo.new(0.24, Enum.EasingStyle.Back, Enum.EasingDirection.Out), { Size = UDim2.new(0, 248, 0, 162) }):Play() end local function closePanel() local tween = TweenService:Create(mainFrame, TweenInfo.new(0.18, Enum.EasingStyle.Quad, Enum.EasingDirection.In), { Size = UDim2.new(0, 52, 0, 52) }) tween:Play() tween.Completed:Connect(function() if not mainFrame then return end mainFrame.Visible = false iconButton.Position = UDim2.new( mainFrame.Position.X.Scale, mainFrame.Position.X.Offset, mainFrame.Position.Y.Scale, mainFrame.Position.Y.Offset ) iconButton.Visible = true end) end closeButton.MouseButton1Click:Connect(closePanel) makeDraggable(iconButton, iconButton, openPanel) makeDraggable(mainFrame, mainFrame, nil)