DiveGamerV2

FPS BOSTER

Nov 30th, 2020
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. local decalsyeeted = true -- Leaving this on makes games look shitty but the fps goes up by at least 20.
  2. local g = game
  3. local w = g.Workspace
  4. local l = g.Lighting
  5. local t = w.Terrain
  6. t.WaterWaveSize = 0
  7. t.WaterWaveSpeed = 0
  8. t.WaterReflectance = 0
  9. t.WaterTransparency = 0
  10. l.GlobalShadows = false
  11. l.FogEnd = 9e9
  12. l.Brightness = 0
  13. settings().Rendering.QualityLevel = "Level01"
  14. for i,v in pairs(g:GetDescendants()) do
  15. if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then
  16. v.Material = "Plastic"
  17. v.Reflectance = 0
  18. elseif v:IsA("Decal") and decalsyeeted then
  19. v.Transparency = 1
  20. elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  21. v.Lifetime = NumberRange.new(0)
  22. elseif v:IsA("Explosion") then
  23. v.BlastPressure = 1
  24. v.BlastRadius = 1
  25. end
  26. end
  27. for i,e in pairs(l:GetChildren()) do
  28. if e:IsA("BlurEffect") or e:IsA("SunRaysEffect") or e:IsA("ColorCorrectionEffect") or e:IsA("BloomEffect") or e:IsA("DepthOfFieldEffect") then
  29. e.Enabled = false
  30. end
  31. end
Add Comment
Please, Sign In to add comment