stopmebonkers

Anti lag / FPS booster script made by w44rm

Aug 5th, 2021 (edited)
3,527
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.10 KB | None | 0 0
  1.     workspace:FindFirstChildOfClass('Terrain').WaterWaveSize = 0
  2.     workspace:FindFirstChildOfClass('Terrain').WaterWaveSpeed = 0
  3.     workspace:FindFirstChildOfClass('Terrain').WaterReflectance = 0
  4.     workspace:FindFirstChildOfClass('Terrain').WaterTransparency = 0
  5.     game:GetService("Lighting").GlobalShadows = false
  6.     game:GetService("Lighting").FogEnd = 9e9
  7.     settings().Rendering.QualityLevel = 1
  8.     for i,v in pairs(game:GetDescendants()) do
  9.         if v:IsA("Part") or v:IsA("UnionOperation") or v:IsA("MeshPart") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then
  10.             v.Material = "Plastic"
  11.             v.Reflectance = 0
  12.         elseif v:IsA("Decal") then
  13.             v.Transparency = 1
  14.         elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  15.             v.Lifetime = NumberRange.new(0)
  16.         elseif v:IsA("Explosion") then
  17.             v.BlastPressure = 1
  18.             v.BlastRadius = 1
  19.         end
  20.     end
  21.     for i,v in pairs(game:GetService("Lighting"):GetDescendants()) do
  22.         if v:IsA("BlurEffect") or v:IsA("SunRaysEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("BloomEffect") or v:IsA("DepthOfFieldEffect") then
  23.             v.Enabled = false
  24.         end
  25.     end
Add Comment
Please, Sign In to add comment