ADVERTISEMENTREMOVE ADS

Script Fetcher

Universal script
4 days ago
Script preview thumbnail
Script Preview
Patched

Description

made by l0stveil

it fetches all the basescripts (that run on client) , localscript and modulescripts

dont blame me for nothing and dislike the script completely works i dont care if you use xeno or solara noobs

ADVERTISEMENTREMOVE ADS
31 Lines • 2.98 KiB
Verified
Raw
game:GetService("StarterGui"):SetCore("SendNotification", {Title = "script fetcher", Text = "yo we starting this thing", Duration = 10})
print("[FETCHER] lets get these scripts fr")
task.spawn(function()
for i = 1, 3 do
for _, script in pairs(game:GetDescendants()) do
if (script:IsA("ModuleScript") or script:IsA("LocalScript") or (script:IsA("Script") and script.RunContext == Enum.RunContext.Client)) and not script:IsDescendantOf(game:GetService("CoreGui")) and not script:IsDescendantOf(game:GetService("CorePackages")) and not script:IsDescendantOf(game:GetService("StarterPlayer")) and not script:GetFullName():match("PlayerModule") and script.Name ~= "Animate" then
if not isfile(`{script:IsA("ModuleScript") and "Module" or script:IsA("LocalScript") and "Local" or "ServerScript"}_{script:GetFullName():gsub("%.", "_")}.lua`) then
task.wait(0.15)
if pcall(function() return decompile(script) end) and select(2, pcall(function() return decompile(script) end)) ~= "" then
writefile(`{script:IsA("ModuleScript") and "Module" or script:IsA("LocalScript") and "Local" or "ServerScript"}_{script:GetFullName():gsub("%.", "_")}.lua`, `--[[\nScript Type: {script:IsA("ModuleScript") and "ModuleScript" or script:IsA("LocalScript") and "LocalScript" or "BaseScript"}\nFull Path: {script:GetFullName()}\nParent: {script.Parent and script.Parent:GetFullName() or "nil"}\n]]\n\n{select(2, pcall(function() return decompile(script) end))}`)
print(`[FETCHER] gottem {script:IsA("ModuleScript") and "Module" or script:IsA("LocalScript") and "Local" or "ServerScript"}: {script:GetFullName()}`)
end
end
end
end
for _, script in pairs(getloadedmodules()) do
if not script:IsDescendantOf(game:GetService("CoreGui")) and not script:IsDescendantOf(game:GetService("CorePackages")) and not script:IsDescendantOf(game:GetService("StarterPlayer")) and not script:GetFullName():match("PlayerModule") and script.Name ~= "Animate" then
if not isfile(`Module_{script:GetFullName():gsub("%.", "_")}.lua`) then
task.wait(0.15)
if pcall(function() return decompile(script) end) and select(2, pcall(function() return decompile(script) end)) ~= "" then
writefile(`Module_{script:GetFullName():gsub("%.", "_")}.lua`, `--[[\nScript Type: ModuleScript\nFull Path: {script:GetFullName()}\nParent: {script.Parent:GetFullName()}\n]]\n\n{select(2, pcall(function() return decompile(script) end))}`)
print(`[FETCHER] gottem Module: {script:GetFullName()}`)
end
end
end
end
if i < 3 then task.wait(1) end
end
print("[FETCHER] we done here")
game:GetService("StarterGui"):SetCore("SendNotification", {Title = "script fetcher", Text = "all done bro", Duration = 10})
end)
ADVERTISEMENTREMOVE ADS

Comments

0 comments
to add a comment
Loading comments
ADVERTISEMENTREMOVE ADS