Advertisement
xtrey10x

dad

Apr 19th, 2022
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 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("Union") or v:IsA("MeshPart") 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. end
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement