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)