Universal Script 📌
25.0k Views
176 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
56
0
Bumped 13 minutes ago
Key System

Script hub

Plak Upd

Script hub
43
2
Approved 41 minutes ago

Script hub

Levian Hub

Universal Script 📌
27
1
Approved 59 minutes ago
Universal Script 📌
32.7k
43.8k
Bumped 8 hours ago
Universal Script 📌
16.5k
14.8k
Bumped 9 hours ago
Script hub
8.2k
134.6k
Bumped 10 hours ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Universal Script 📌
1.4M
656.1k
Bumped 10 hours ago