Universal Script 📌
1.3k Views
268 Executions

Script Decompiler

Universal Script 📌
Ximmy1234
Ximmy1234First script
6 months 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

Decompiles all scripts in the game, saves them to executors workspace as .lua.

View Raw
local scanDelay = 0.05
local decompileTimeout = 1

local HttpService = game:GetService("HttpService")
local Players = game:GetService("Players")

local gameName = "UnknownGame"
pcall(function()
	gameName = game:GetService("MarketplaceService"):GetProductInfoAsync(game.PlaceId).Name
end)

local function sanitize(name)
	return string.gsub(tostring(name), '[<>:"/\\|?*%c]', "_"):sub(1, 50)
end

local FOLDER_NAME = "decompile_" .. sanitize(gameName) .. "_" .. tostring(game.PlaceId) .. "_" .. HttpService:GenerateGUID(false):sub(1, 6)
local BRAND = "Ximmy's Sexy Script Decompiler"

local hasDecompiler = false
pcall(function()
	if decompile then
		local t = Instance.new("LocalScript")
		t.Parent = game:GetService("ReplicatedStorage")
		local ok, r = pcall(decompile, t)
		t:Destroy()
		hasDecompiler = ok and r ~= nil
	end
end)

local getgenv = getgenv or function() return _G end
local env = getgenv()

local function makeGui()
	local gui = Instance.new("ScreenGui")
	gui.ResetOnSpawn = false
	gui.DisplayOrder = 2e9
	local ok = false
	pcall(function()
		local f = env.gethui or function() return game:GetService("CoreGui") end
		gui.Parent = f()


Comments

1
Log in to join the conversation. Login
katze7500's profile picture
katze75006 months ago

could you make it save it as a single txt file

1

More universal scripts

See all
Script hub
265.4k
102.3k
Bumped 20 minutes ago
Key System
Script hub
281.5k
916.9k
Bumped 3 hours ago
Key System

Script hub

#21 this week

Verified script badgeAxon Hub 60+ Games & 800+ Features

Script hub
2.1M
704.6k
Bumped 3 hours ago
Key System

Script hub

#5 today

Verified script badgeLumin Hub | #1 | Insta Steal

Universal Script 📌
29.9k
88.2k
Bumped 5 hours ago
Script hub
19.0k
65.5k
Bumped 5 hours ago
Key System
Universal Script 📌
1.8k
6.7k
Bumped 7 hours ago
Key System
Script hub
178
33
Approved 7 hours ago
Paid

Script hub

anmultv hub

Universal Script 📌
155
51
Approved 7 hours ago