Universal Script 📌
291.4k Views
4.3k Executions

Script Verified SimpleDecompile V2

Universal Script 📌
vxsty
vxsty
Verified Badge
Verified User
OG
OG: invite only, given by Thunder Mods
Hall of Fame10M views
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

An amazingly improved version of SimpleDecompile! This script can: Read Functions, Scripts, Protos, Upvalues & Constants, Decompile scripts (Some functions may be named NO_NAME_FOUND, If you're a bit experienced with luau you might be able to understand what it says), Read tables, constants, instance paths, metamethods AND buffers much, much better, Better indentation, Works for mobile (CODEX, DELTA, NOT TESTED ON VEGAX), Will give unknown functions random names (NO_NAME_FOUND1960, NO_NAME_FOUND3591, proto19, proto10, proto86, ...) Reads upvalues with no problem. TODO: Add renv checks, Checks if a function has roblox libraries or functions in constants. v1.0.1: Added the renv check. USAGE: ```lua local decompile = loadstring(game:HttpGet("https://scriptblox.com/raw/Universal-Script-SimpleDecompile-V2-12641"))() local Path = -- your script path setclipboard(decompile(Path)) ```

Updates

  1. Script edited: Update script

  2. Script edited: Update script

  3. Script edited: Update script

  4. Script edited: Update script

  5. Script edited: Update script

View Raw
if not debug.getupvalues or not debug.getprotos or not debug.getconstants then
 return nil
end
local Numbers = {}
local Properties = {}
local HttpService = game:GetService('HttpService');
function keyF(a)
 return typeof(a) == 'number' and ('[%d] = '):format(a) or ('[\'%s\'] = '):format(tostring(a))
end
function keyE(a, b)
 if typeof(b):lower() == 'instance' then
  return b.Name:gsub(' ', '_')
 elseif typeof(b) == 'boolean' then return 'bool' .. tostring(a) elseif typeof(b) == 'string' then return 'str' .. tostring(a) elseif typeof(b) == 'number' then return 'num' .. tostring(a) elseif typeof(b) == 'table' then return 'tbl' .. tostring(a) else return typeof(b) .. tostring(a) end
end
function rnum(min, max)
 local a;
 repeat a = math.random(min, max) until not table.find(Numbers, a)
 table.insert(Numbers, a)
 return a
end
local _RENV = getrenv()
function inrenv(func)
 name = typeof(func) == 'string' and func or typeof(func) == 'function' and debug.getinfo(func).name
 for i, v in _RENV do
  if typeof(v) == 'function' then
   if i == name then return true end
  end
 end
 return false
end
function buffermain(buff, indent, identifier)
 identifier = tostring(identifier)
 local str = 'buffer.create(' .. tostring(buffer.len(buff)) .. ');'
 for i = 1, buffer.len(buff) - 1 do
  local a = buffer.readi8(buff, i)
  if a ~= 0 then -- null (empty cell)
   local e = ''
   pcall(function()
    e = string.char(a)
   end)


Comments

17
Log in to join the conversation. Login
SkireScripts's profile picture
SkireScripts3 years ago(edited)

does it work good on functions and upvalues?

2
vxsty's profile picture
vxstyOG
OG
OG: invite only, given by Thunder Mods
Verified Badge
Verified User
Hall of FameUploader1 year ago

@afernandoveiga Are you trolling 💔

1
afernandoveiga's profile picture
afernandoveiga1 year ago

@vxsty can this decompile for and while loops?

1
SMGN's profile picture
SMGN2 years ago(edited)

where does it belong to when its decompiled?

1
behindhackeyes's profile picture
behindhackeyes2 years ago(edited)

when i execute with path it just returns path in a local script variable

1
Partner's profile picture
Partner2 years ago(edited)

hey man i didnt understand that well, will it decompile scripts so i can see on dark dex or decompile the script im executing?

1
DenzTheCoolMan's profile picture
DenzTheCoolMan2 years ago(edited)

Very useful and very good

1

More universal scripts

See all
Script hub
5.4k
28.8k
Bumped 45 minutes ago
Key System
Script hub
14.0k
28.4k
Bumped 2 hours ago
Universal Script 📌
339.0k
74.9k
Bumped 2 hours ago
Script hub
462.0k
989.7k
Bumped 2 hours ago
Key System

Script hub

Hall of Fame #5

Verified script badgeRonix Hub | 52 Supported Games + OP!

Universal Script 📌
62
6
Approved 2 hours ago
Script hub
3.0M
1.0M
Bumped 4 hours ago
Key System