Universal Script 📌
25.0k Views
142 Executions

Simple Module Script Decompiler

Universal Script 📌
beriberi
beriberi
Verified Badge
Verified User
100 followers
3 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

Didn't make the original , found this on scrptblox and after a while of research made it so that it can decompile full tables and functions, may have some errors

Updates

  1. Script edited: Create script

View Raw
local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()

_G.Debug = false

if not _G.Debug then
    _G.Window = OrionLib:MakeWindow({Name = "Beat your meat", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
elseif _G.Debug then
	_G.Window = OrionLib:MakeWindow({Name = "DebugMode", HidePremium = false, SaveConfig = true, ConfigFolder = "OrionTest"})
end

local Tab = _G.Window:MakeTab({
	Name = "Tab 1",
	Icon = "rbxassetid://4483345998",
	PremiumOnly = false
})

function SimpleDecompile(module)
    local Module = require(module)
    local DecompiledModule = ""

    local function processTable(tab, indent)
        for key, value in pairs(tab) do
            if typeof(value) == "table" then
                DecompiledModule = DecompiledModule .. ("\t"):rep(indent) .. key .. " = {\n"
                processTable(value, indent + 1)
                DecompiledModule = DecompiledModule .. ("\t"):rep(indent) .. "}\n"
            elseif typeof(value) == "function" then
                DecompiledModule = DecompiledModule .. ("\t"):rep(indent) .. key .. " = function()\n\t\t-- function body\n\tend,\n"
            else
                DecompiledModule = DecompiledModule .. ("\t"):rep(indent) .. key .. " = " .. tostring(value) .. ",\n"
            end
        end
    end

    processTable(Module, 0)
    
    return DecompiledModule
end




Comments

14
Log in to join the conversation. Login
kelvinlopes8000's profile picture
kelvinlopes80002 years ago(edited)

What do i put in path? Sorry, i'm beginner and noob at this.

1
beriberi's profile picture
beriberiVerified
Verified Badge
Verified User
Uploader3 years ago(edited)

@F_hub99 while i would fix the issue, i'm on a break from releasing scripts as a whole right now

1
Mr_PoopyPants's profile picture
Mr_PoopyPants3 years ago(edited)

I can't copy some modules?!

1
LitSobi's profile picture
LitSobi3 years ago(edited)

W script

1
Guelgamesbr's profile picture
Guelgamesbr3 years ago(edited)

oh ok (I'm dumb enough to know what are module scripts so i will continue to epic hack games with rspy)

1
beriberi's profile picture
beriberiVerified
Verified Badge
Verified User
Uploader3 years ago(edited)

@Guelgamesbr It has to be a module script but yes

1
beriberi's profile picture
beriberiVerified
Verified Badge
Verified User
Uploader3 years ago(edited)

@roblox_gaming you're editing my code and trying to make a script decompiler, you can't even decompile a regular script

1

More universal scripts

See all
Script hub
3.2M
753.1k
Bumped 3 hours ago
Key System

Script hub

Hall of Fame #8

Verified script badgeFlow Hub | 50 Games | Updated

Universal Script 📌
416
1.1k
Bumped 5 hours ago
Key System
Universal Script 📌
7.1k
141.6k
Bumped 5 hours ago
Script hub
45.7k
114.4k
Bumped 7 hours ago
Key System
Script hub
3.5M
448.8k
Bumped 8 hours ago
Key System

Script hub

Hall of Fame #4

Verified script badgeOverflow #1 *OP*

Universal Script 📌
14.9k
71.8k
Bumped 9 hours ago