local player = game.Players.LocalPlayer local lighting = game:GetService("Lighting") local StarterGui = game:GetService("StarterGui") -- Function to optimize graphics settings local function optimizeGraphics() -- Reduce unnecessary lighting effects lighting.GlobalShadows = false lighting.Brightness = 2 lighting.Ambient = Color3.fromRGB(200, 200, 200) lighting.OutdoorAmbient = Color3.fromRGB(200, 200, 200) -- Reduce the number of particles (instead of removing them) for _, obj in pairs(workspace:GetDescendants()) do if obj:IsA("ParticleEmitter") or obj:IsA("Trail") then obj.Rate = math.max(obj.Rate / 3, 1) -- Reduce but don't fully remove elseif obj:IsA("Beam") or obj:IsA("Smoke") then obj.Enabled = false -- Disable heavy visual effects end end -- Remove unnecessary decorations like grass if workspace:FindFirstChild("Terrain") then workspace.Terrain.WaterWaveSize = 0 workspace.Terrain.WaterWaveSpeed = 0 workspace.Terrain.WaterReflectance = 0 workspace.Terrain.WaterTransparency = 1 end -- Only remove UI effects, not important UI for _, gui in pairs(player.PlayerGui:GetChildren()) do if gui:IsA("ScreenGui") and gui.Name ~= "ImportantUI" then gui.Enabled = true -- Keep UI but disable animated effects inside it end end -- Show a notification using the Roblox notice system StarterGui:SetCore("SendNotification", { Title = "FPS", Text = "FPS Boosted, Created by El_VireXus", Duration = 5, -- Added missing comma Button1 = "thxs <3" }) -- <-- Closing bracket added here end optimizeGraphics()