
5.8k Views
546 Executions
Potato Device Mode
Universal Script 📌
exserdashdevPublished 10
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Potato lag fixer
local Lighting = game:GetService("Lighting")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")
local Players = game:GetService("Players")
local function RemoveVisualObjects()
local count = 0
local visualClasses = {
"Decal",
"Texture",
"ParticleEmitter",
"Smoke",
"Fire",
"Sparkles",
"Trail",
"Beam"
}
for _, obj in pairs(Workspace:GetDescendants()) do
for _, class in ipairs(visualClasses) do
if obj:IsA(class) then
obj:Destroy()
count = count + 1
end
end
end
if Workspace.Terrain then
for _, decal in pairs(Workspace.Terrain:GetChildren()) do
if decal:IsA("Decal") or decal:IsA("Texture") then
decal:Destroy()
count = count + 1
end
end
end
for _, obj in pairs(Lighting:GetChildren()) do
obj:Destroy()
count = count + 1
end









very good script but the prints are chatgpt ahhðŸ˜
@exserdashdev cant make all models in workspace without material and check every 1 second looped ahh
@serafimkoragin you expect me to code a lag fixer and waste my time when its not even useful for me?
AI ahh script