Universal Script 📌
5.8k Views
546 Executions

Potato Device Mode

Universal Script 📌
exserdashdev
exserdashdevPublished 10
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Potato lag fixer

View Raw
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


Comments

4
Log in to join the conversation. Login
POOIPOOP's profile picture
POOIPOOP2 months ago

very good script but the prints are chatgpt ahh😭

1
serafimkoragin's profile picture
serafimkoragin2 years ago

@exserdashdev cant make all models in workspace without material and check every 1 second looped ahh

1
exserdashdev's profile picture
exserdashdevUploader2 years ago

@serafimkoragin you expect me to code a lag fixer and waste my time when its not even useful for me?

1
serafimkoragin's profile picture
serafimkoragin2 years ago

AI ahh script

1

More universal scripts

See all
Script hub
159.7k
1.5M
Bumped 2 hours ago
Key System

Script hub

#15 this week

Verified script badgeAirflow HUB

Universal Script 📌
2.3k
990
Bumped 2 hours ago
Script hub
1.6M
1.9M
Bumped 2 hours ago
Key System

Script hub

#10 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Universal Script 📌
40.4k
817.4k
Bumped 4 hours ago
Universal Script 📌
133.7k
24.2k
Bumped 4 hours ago
Key System