Guest User

Roblox FPS Boost Script

a guest
Dec 30th, 2023
7,647
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. -- Roblox FPS Boost Script
  2.  
  3. -- Disable unnecessary graphics settings
  4. game.StarterGui:SetCore("TopbarEnabled", false)
  5. game.Workspace.CurrentCamera.FieldOfView = 70
  6.  
  7. -- Adjust graphics settings
  8. game.GraphicsQuality = Enum.QualityLevel.Level2
  9.  
  10. -- Disable shadows
  11. for _, descendant in pairs(game.Workspace:GetDescendants()) do
  12. if descendant:IsA("ShadowMap") then
  13. descendant:Destroy()
  14. end
  15. end
  16.  
  17. -- Adjust render distance
  18. game.Workspace.CurrentCamera.ClipsDescendants = true
  19. game.Workspace.CurrentCamera.NearClipPlane = 0.1
  20. game.Workspace.CurrentCamera.FarClipPlane = 256
  21.  
  22. -- Reduce particle effects
  23. for _, descendant in pairs(game.Workspace:GetDescendants()) do
  24. if descendant:IsA("ParticleEmitter") then
  25. descendant.Enabled = false
  26. end
  27. end
  28.  
  29. -- Disable unnecessary scripts
  30. for _, descendant in pairs(game:GetDescendants()) do
  31. if descendant:IsA("Script") or descendant:IsA("LocalScript") then
  32. descendant.Disabled = true
  33. end
  34. end
Advertisement
Add Comment
Please, Sign In to add comment