Advertisement
qnidnqwid

Roblox Fps Boost makes things dark too

Mar 19th, 2025 (edited)
190
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.95 KB | Source Code | 0 0
  1. local RunService = game:GetService("RunService")
  2. local Players = game:GetService("Players")
  3. local UserInputService = game:GetService("UserInputService")
  4. local NetworkClient = game:GetService("NetworkClient")
  5. local StarterGui = game:GetService("StarterGui")
  6. local player = Players.LocalPlayer
  7.  
  8. -- Send Notification
  9. StarterGui:SetCore("SendNotification", {
  10.     Title = "Made By bruhmoments#5852",
  11.     Text = "Best Fps and Ping Booster Loaded!",
  12.     Duration = 10, -- Set a finite duration (infinite might not work)
  13.     Button1 = "Okay"
  14. })
  15.  
  16. -- Unlock FPS to MAX (99999)
  17. if setfpscap then
  18.     setfpscap(99999) -- Uncapped FPS for maximum frame rate
  19. end
  20.  
  21. -- Extreme Graphics and Material Reductions (Potato Mode 3000)
  22. settings().Rendering.QualityLevel = Enum.QualityLevel.Level01 -- Set lowest quality for extreme performance
  23. game:GetService("Lighting").Brightness = 0.01 -- Set brightness to ultra low
  24. game:GetService("Lighting").GlobalShadows = false -- Disable all shadows
  25. game:GetService("Lighting").Ambient = Color3.new(0, 0, 0) -- No ambient light
  26. game:GetService("Lighting").ReflectionQuality = Enum.ReflectionQuality.NoReflection -- No reflections
  27. game:GetService("Lighting").FogEnd = 50 -- Minimal fog effect
  28.  
  29. -- Disable All Lighting, Particle Effects, and Materials
  30. for _, v in pairs(workspace:GetDescendants()) do
  31.     if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") then
  32.         v.Material = Enum.Material.SmoothPlastic -- Use smooth plastic for all parts
  33.         v.Reflectance = 0 -- Disable all reflections
  34.         v.Color = Color3.new(0, 0, 0) -- Set all parts to black (or invisible)
  35.     elseif v:IsA("Light") then
  36.         v.Enabled = false -- Turn off all lights
  37.     elseif v:IsA("ParticleEmitter") or v:IsA("Trail") or v:IsA("Beam") then
  38.         v.Enabled = false -- Disable all particle effects
  39.     end
  40. end
  41.  
  42. -- Aggressive Network Optimizations
  43. setfflag("AbuseReportScreenshot", "False")
  44. setfflag("AbuseReportScreenshotPercentage", "0")
  45. setfflag("DFIntTaskSchedulerTargetFps", "99999") -- Max FPS for network tasks
  46. setfflag("UseOptimizedNetworkCompression", "True") -- Enable optimized network compression
  47. setfflag("UseFastPing", "True") -- Enable faster ping optimization
  48. setfflag("UseHighBandwidthMode", "True") -- Enable high bandwidth for smoother transmission
  49. setfflag("NetworkCompressionLevel", "3") -- Maximize compression level for bandwidth saving
  50. setfflag("FastNetworkReplication", "True") -- Speed up data replication
  51.  
  52. -- Maximize CPU & Memory Optimization
  53. if setpriority then
  54.     setpriority(20) -- Set the highest CPU/GPU priority for Roblox
  55. end
  56.  
  57. -- Disable All Redundant Background Processes
  58. for _, connection in pairs(getconnections(RunService.RenderStepped)) do
  59.     connection:Disable()
  60. end
  61. for _, connection in pairs(getconnections(RunService.Heartbeat)) do
  62.     connection:Disable()
  63. end
  64. for _, connection in pairs(getconnections(RunService.Stepped)) do
  65.     connection:Disable()
  66. end
  67.  
  68. -- Ultra Aggressive Garbage Collection
  69. local function optimizeMemory()
  70.     collectgarbage("setpause", 0) -- Disable garbage collection pause
  71.     collectgarbage("setstepmul", 10000) -- Maximize garbage collection efficiency
  72. end
  73.  
  74. -- Aggressive Ping Optimizations
  75. local function optimizePing()
  76.     NetworkClient:SetOutgoingKBPSLimit(50000) -- Maximize outgoing bandwidth
  77.     NetworkClient.IncomingReplicationLag = 0 -- Set incoming replication lag to zero
  78. end
  79.  
  80. -- Auto Apply Optimizations (As Fast As Possible)
  81. optimizeMemory()
  82. optimizePing()
  83.  
  84. -- Set Global Physics Settings to Ultra Efficient
  85. RunService.PhysicsSteppingMethod = Enum.PhysicsSteppingMethod.Fixed -- Keep physics stable but lightweight
  86.  
  87. -- Keep Memory Leaks in Check (Ultra Frequent Garbage Collection)
  88. local function preventMemoryLeaks()
  89.     while true do
  90.         collectgarbage("collect")
  91.         task.wait(10) -- Collect memory aggressively every 10 seconds
  92.     end
  93. end
  94.  
  95. -- Run Prevent Memory Leaks in the background
  96. task.spawn(preventMemoryLeaks)
  97.  
  98. -- Fully Remove Visual Effects (Ultra Potato Mode)
  99. game:GetService("Lighting").Ambient = Color3.new(0, 0, 0) -- No ambient light
  100. game:GetService("Lighting").GlobalShadows = false -- Disable all shadows
  101. game:GetService("Lighting").ReflectionQuality = Enum.ReflectionQuality.NoReflection -- No reflections
  102.  
  103. -- Preload all assets aggressively (Streamline asset loading)
  104. local function preloadAssets()
  105.     for _, v in pairs(game:GetDescendants()) do
  106.         if v:IsA("MeshPart") or v:IsA("Texture") or v:IsA("Decal") then
  107.             v.Loaded:Connect(function() end) -- Preload all assets immediately
  108.         end
  109.     end
  110. end
  111.  
  112. -- Run Asset Preloading
  113. preloadAssets()
  114.  
  115. -- Disable most GUI components (Ultra Performance)
  116. for _, gui in pairs(player.PlayerGui:GetDescendants()) do
  117.     if gui:IsA("GuiObject") then
  118.         gui.Visible = false -- Hide all GUI elements to save resources
  119.     end
  120. end
  121.  
  122. -- Forcefully remove the unnecessary rendering from the entire game
  123. RunService:Set3dRenderingEnabled(false)
  124.  
  125.  
  126.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement