Universal Script 📌
6.3k Views
934 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
POOIPOOP4 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
Universal Script 📌
138
522
Bumped 22 minutes ago
Universal Script 📌
1.5k
30.2k
Bumped 23 minutes ago
Script hub
4.1M
558.5k
Bumped 46 minutes ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.4k
28.8k
Bumped 2 hours ago
Key System
Script hub
14.0k
28.4k
Bumped 3 hours ago
Universal Script 📌
339.0k
75.0k
Bumped 3 hours ago
Script hub
462.0k
990.4k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #5

Verified script badgeRonix Hub | 52 Supported Games + OP!