Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --This Script makes every part low quality and deletes every decal
- --use it for low end devices
- --paste into your executor and execute
- --settings
- local lowQualityParts = true
- local deleteDecalsAndTextures = true
- local disableShaodws = false --optional (set to true if wanted)
- local lightning = game:GetService("Lighting")
- if disableShadows then
- lightning.GlobalShadows = false
- end
- if deleteDecalsAndTextures then
- local Model = workspace
- local ClassTypes = {
- "Decal",
- "Texture"
- }
- for _, v in ipairs(workspace:GetDescendants()) do
- if table.find(ClassTypes, v.ClassName) then
- print(v.ClassName)
- v:Destroy()
- end
- end
- end
- if lowQualityParts then
- for i,v in pairs(workspace:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Material = Enum.Material.Plastic
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement