0% found this document useful (0 votes)
57 views3 pages

FPS

Alalalalqldjjfj

Uploaded by

supercarotte80
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views3 pages

FPS

Alalalalqldjjfj

Uploaded by

supercarotte80
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

local workspace = game:GetService("Workspace")

for _, obj in pairs(workspace:GetDescendants()) do


if obj:IsA("BasePart") then
obj.Transparency = 1
end
end

-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
---------

local decalsyeeted = true -- Leaving this on makes games look shitty but the fps
goes up by at least 20.
local g = game
local w = g.Workspace
local l = g.Lighting
local t = w.Terrain
sethiddenproperty(l,"Technology",2)
sethiddenproperty(t,"Decoration",false)
t.WaterWaveSize = 0
t.WaterWaveSpeed = 0
t.WaterReflectance = 0
t.WaterTransparency = 0
l.GlobalShadows = 0
l.FogEnd = 9e9
l.Brightness = 0
settings().Rendering.QualityLevel = "Level01"
for i, v in pairs(w:GetDescendants()) do
if v:IsA("BasePart") and not v:IsA("MeshPart") then
v.Material = "Plastic"
v.Reflectance = 0
elseif (v:IsA("Decal") or v:IsA("Texture")) and decalsyeeted then
v.Transparency = 1
elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
v.Lifetime = NumberRange.new(0)
elseif v:IsA("Explosion") then
v.BlastPressure = 1
v.BlastRadius = 1
elseif v:IsA("Fire") or v:IsA("SpotLight") or v:IsA("Smoke") or
v:IsA("Sparkles") then
v.Enabled = false
elseif v:IsA("MeshPart") and decalsyeeted then
v.Material = "Plastic"
v.Reflectance = 0
v.TextureID = 10385902758728957
elseif v:IsA("SpecialMesh") and decalsyeeted then
v.TextureId=0
elseif v:IsA("ShirtGraphic") and decalsyeeted then
v.Graphic=0
elseif (v:IsA("Shirt") or v:IsA("Pants")) and decalsyeeted then
v[v.ClassName.."Template"]=0
end
end
for i = 1,#l:GetChildren() do
e=l:GetChildren()[i]
if e:IsA("BlurEffect") or e:IsA("SunRaysEffect") or
e:IsA("ColorCorrectionEffect") or e:IsA("BloomEffect") or
e:IsA("DepthOfFieldEffect") then
e.Enabled = false
end
end

-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
--------------

for _,v in pairs(workspace:GetDescendants()) do


if v.ClassName == "Part"
or v.ClassName == "SpawnLocation"
or v.ClassName == "WedgePart"
or v.ClassName == "Terrain"
or v.ClassName == "MeshPart" then
v.Material = "Plastic"
end
end

--level 2

for _,v in pairs(workspace:GetDescendants()) do


if v.ClassName == "Part"
or v.ClassName == "SpawnLocation"
or v.ClassName == "WedgePart"
or v.ClassName == "Terrain"
or v.ClassName == "MeshPart" then
v.Material = "Plastic"
end
end

for _,v in pairs(workspace:GetDescendants()) do


if v.ClassName == "Decal"
or v.ClassName == "Texture" then
v:Destroy()
end
end

--level 3

for _,v in pairs(workspace:GetDescendants()) do


if v.ClassName == "Part"
or v.ClassName == "SpawnLocation"
or v.ClassName == "WedgePart"
or v.ClassName == "Terrain"
or v.ClassName == "MeshPart" then
v.BrickColor = BrickColor.new(155, 155, 155)
v.Material = "Plastic"
end
end

for _,v in pairs(workspace:GetDescendants()) do


if v.ClassName == "Decal"
or v.ClassName == "Texture" then
v:Destroy()
end
end
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
-------------------

local decalsyeeted = true -- Leaving this on makes games look shitty but the fps
goes up by at least 20.
local g = game
local w = g.Workspace
local l = g.Lighting
local t = w.Terrain
t.WaterWaveSize = 0
t.WaterWaveSpeed = 0
t.WaterReflectance = 0
t.WaterTransparency = 0
l.GlobalShadows = false
l.FogEnd = 9e9
l.Brightness = 0
settings().Rendering.QualityLevel = "Level01"
for i, v in pairs(g:GetDescendants()) do
if v:IsA("Part") or v:IsA("Union") or v:IsA("CornerWedgePart") or
v:IsA("TrussPart") then
v.Material = "Plastic"
v.Reflectance = 0
elseif v:IsA("Decal") or v:IsA("Texture") and decalsyeeted then
v.Transparency = 1
elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
v.Lifetime = NumberRange.new(0)
elseif v:IsA("Explosion") then
v.BlastPressure = 1
v.BlastRadius = 1
elseif v:IsA("Fire") or v:IsA("SpotLight") or v:IsA("Smoke") or
v:IsA("Sparkles") then
v.Enabled = false
elseif v:IsA("MeshPart") then
v.Material = "Plastic"
v.Reflectance = 0
v.TextureID = 10385902758728957
end
end
for i, e in pairs(l:GetChildren()) do
if e:IsA("BlurEffect") or e:IsA("SunRaysEffect") or
e:IsA("ColorCorrectionEffect") or e:IsA("BloomEffect") or
e:IsA("DepthOfFieldEffect") then
e.Enabled = false
end
end

You might also like