sirelkilla

fps booster: potato graphics

Dec 31st, 2020
28,526
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.56 KB | None | 0 0
  1. --[[
  2. MAX FPS BOOSTER  | TRULY DOGSHIT PS1 GRAPHICS
  3.  
  4. -no textures
  5. -simple shadows
  6. -simple water
  7. -no particles, reflections, or post effects
  8. -simplified hitboxes
  9. -no rendering tiny parts (<5 studs)
  10. --faster dex
  11. -**no terrain at all** | replaced with a huge baseplate | press CTRL+BRACKETS to change the baseplate height
  12.  
  13. --]]
  14.  
  15. if not game:IsLoaded() then
  16.     game.Loaded:Wait()
  17.     wait(10)
  18. end
  19.  
  20. local function check(inst)
  21.     local class = inst.ClassName
  22.     if class == "Decal" or class == "Texture" then
  23.         inst.Texture = ""
  24.     elseif class == "SpecialMesh" then
  25.         inst.TextureId = ""
  26.     elseif class == "ParticleEmitter" then
  27.         inst.Texture = ""
  28.         inst.Rate = 0
  29.     elseif inst:IsA("BasePart") then
  30.         inst.Material = "SmoothPlastic"
  31.         inst.Reflectance = 0
  32.         inst.CastShadow = false
  33.         if class == "MeshPart" then
  34.             inst.TextureID = ""
  35.             inst.CollisionFidelity = "Hull"
  36.         elseif class == "UnionOperation" then
  37.             inst.CollisionFidelity = "Hull"
  38.         end
  39.         if inst.Anchored and inst.Size.Magnitude < 5 then
  40.             inst.Transparency = 1
  41.             inst.CanCollide = false
  42.             --inst:Destroy()
  43.         end
  44.     end
  45. end
  46.  
  47. local function removeDups(children)
  48.     if #children > 99 then
  49.         local myname = tostring(game:GetService("Players").LocalPlayer)
  50.         local fake = {Name = myname}
  51.         for i=1,#children do
  52.             local name1 = children[i].Name
  53.             if name1 ~= myname and name1 ~= "Terrain" then
  54.                 local moved = false
  55.                 for j=i+1,#children do
  56.                     if children[j].Name == name1 then
  57.                         moved = true
  58.                         children[j].Parent = workspace.Terrain
  59.                         children[j] = fake
  60.                     end
  61.                 end
  62.                 if moved then
  63.                     children[i].Parent = workspace.Terrain
  64.                 end
  65.             end
  66.         end
  67.     end
  68. end
  69.  
  70. settings().Rendering.QualityLevel = Enum.QualityLevel.Level01
  71. UserSettings():GetService("UserGameSettings").SavedQualityLevel = Enum.SavedQualitySetting.QualityLevel1
  72. settings().Rendering.EagerBulkExecution = false
  73. settings().Network.IncomingReplicationLag = -1000
  74.  
  75. workspace:WaitForChild("Terrain")
  76. workspace.Terrain.WaterReflectance = 0
  77. workspace.Terrain.WaterWaveSize = 0
  78. workspace.Terrain.WaterWaveSpeed = 0
  79. workspace.Terrain.WaterTransparency = 0
  80.  
  81. game:GetService("Lighting").GlobalShadows = false
  82.  
  83. workspace.Terrain:Clear()
  84. local plates = {}
  85. if not workspace:FindFirstChild("Baseplate") then
  86.     for x=-1,1,2 do
  87.         for z=-1,1,2 do
  88.             local part = Instance.new("Part")
  89.             part.Size = Vector3.new(2048,5,2048)
  90.             part.CFrame = CFrame.new(1024*x,-5,1024*z)
  91.             part.Anchored=true
  92.             part.Material="SmoothPlastic"
  93.             part.Color = Color3.new(0.36,0.6,0.3)
  94.             part.Name = "Baseplate"
  95.             part.Parent= workspace
  96.             plates[#plates+1]= part
  97.         end
  98.     end
  99. end
  100. local UIS = game:GetService("UserInputService")
  101. UIS.InputBegan:Connect(function(input,gpe)
  102.     if gpe==false and UIS:IsKeyDown("LeftControl") then
  103.         if input.KeyCode==Enum.KeyCode.RightBracket then
  104.             for _,part in ipairs(plates) do
  105.                 part.CFrame=part.CFrame+Vector3.new(0,2.5,0)
  106.             end
  107.         elseif input.KeyCode==Enum.KeyCode.LeftBracket then
  108.             for _,part in ipairs(plates) do
  109.                 part.CFrame=part.CFrame-Vector3.new(0,2.5,0)
  110.             end
  111.         end
  112.     end
  113. end)
  114. wait(0.3)
  115.  
  116. while true do
  117.     for _,v in ipairs(game:GetService("Lighting"):GetDescendants()) do
  118.         if v:IsA("PostEffect") then
  119.             v.Enabled = false
  120.         end
  121.     end
  122.     local des = workspace:GetDescendants()
  123.     for i=1,#des do
  124.         check(des[i])
  125.     end
  126.     wait(0.3)
  127.     --faster dex
  128.     removeDups(workspace:GetChildren())
  129.  
  130.     wait(600)
  131. end
Advertisement
Comments
Add Comment
Please, Sign In to add comment