Advertisement
Shifu_

FPS Booster Roblox

Oct 27th, 2022
1,910
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.77 KB | None | 0 0
  1. -- Crdits : https://robloxscripts.com/roblox-fps-booster-new-march-2021-up-to-300fps-on-roblox/
  2. local decalsyeeted = true -- Leaving this on makes games look shitty but the fps goes up by at least 20.
  3. local g = game
  4. local w = g.Workspace
  5. local l = g.Lighting
  6. local t = w.Terrain
  7. sethiddenproperty(l,"Technology",2)
  8. sethiddenproperty(t,"Decoration",false)
  9. t.WaterWaveSize = 0
  10. t.WaterWaveSpeed = 0
  11. t.WaterReflectance = 0
  12. t.WaterTransparency = 0
  13. l.GlobalShadows = 0
  14. l.FogEnd = 9e9
  15. l.Brightness = 0
  16. settings().Rendering.QualityLevel = "Level01"
  17. for i, v in pairs(w:GetDescendants()) do
  18.     if v:IsA("BasePart") and not v:IsA("MeshPart") then
  19.         v.Material = "Plastic"
  20.         v.Reflectance = 0
  21.     elseif (v:IsA("Decal") or v:IsA("Texture")) and decalsyeeted then
  22.         v.Transparency = 1
  23.     elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  24.         v.Lifetime = NumberRange.new(0)
  25.     elseif v:IsA("Explosion") then
  26.         v.BlastPressure = 1
  27.         v.BlastRadius = 1
  28.     elseif v:IsA("Fire") or v:IsA("SpotLight") or v:IsA("Smoke") or v:IsA("Sparkles") then
  29.         v.Enabled = false
  30.     elseif v:IsA("MeshPart") and decalsyeeted then
  31.         v.Material = "Plastic"
  32.         v.Reflectance = 0
  33.         v.TextureID = 10385902758728957
  34.     elseif v:IsA("SpecialMesh") and decalsyeeted  then
  35.         v.TextureId=0
  36.     elseif v:IsA("ShirtGraphic") and decalsyeeted then
  37.         v.Graphic=0
  38.     elseif (v:IsA("Shirt") or v:IsA("Pants")) and decalsyeeted then
  39.         v[v.ClassName.."Template"]=0
  40.     end
  41. end
  42. for i = 1,#l:GetChildren() do
  43.     e=l:GetChildren()[i]
  44.     if e:IsA("BlurEffect") or e:IsA("SunRaysEffect") or e:IsA("ColorCorrectionEffect") or e:IsA("BloomEffect") or e:IsA("DepthOfFieldEffect") then
  45.         e.Enabled = false
  46.     end
  47. end
  48. w.DescendantAdded:Connect(function(v)
  49.     wait()--prevent errors and shit
  50.    if v:IsA("BasePart") and not v:IsA("MeshPart") then
  51.         v.Material = "Plastic"
  52.         v.Reflectance = 0
  53.     elseif v:IsA("Decal") or v:IsA("Texture") and decalsyeeted then
  54.         v.Transparency = 1
  55.     elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  56.         v.Lifetime = NumberRange.new(0)
  57.     elseif v:IsA("Explosion") then
  58.         v.BlastPressure = 1
  59.         v.BlastRadius = 1
  60.     elseif v:IsA("Fire") or v:IsA("SpotLight") or v:IsA("Smoke") or v:IsA("Sparkles") then
  61.         v.Enabled = false
  62.     elseif v:IsA("MeshPart") and decalsyeeted then
  63.         v.Material = "Plastic"
  64.         v.Reflectance = 0
  65.         v.TextureID = 10385902758728957
  66.     elseif v:IsA("SpecialMesh") and decalsyeeted then
  67.         v.TextureId=0
  68.     elseif v:IsA("ShirtGraphic") and decalsyeeted then
  69.         v.ShirtGraphic=0
  70.     elseif (v:IsA("Shirt") or v:IsA("Pants")) and decalsyeeted then
  71.         v[v.ClassName.."Template"]=0
  72.     end
  73. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement