Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beta #4

Merged
merged 14 commits into from
Nov 4, 2022
2 changes: 1 addition & 1 deletion AntiAfk exp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
local BlacklistedMethods = {}
local isexecutorfunction = isexecutorfunction or is_synapse_function or isexecutorclosure or isourclosure or function(f) return getinfo(f, "s").source:find("@") and true or false end
local getthreadidentity, setthreadidentity = getthreadidentity or syn.get_thread_identity, setthreadidentity or syn.set_thread_identity
local NUB = loadstring(game:HttpGet("https://raw.githubusercontent.com/NoTwistedHere/Roblox/main/NoUpvalueHook.lua"))()
local NUB = loadstring(game:HttpGet("https://raw.githubusercontent.com/NoTwistedHere/Roblox/" .. (Branch or "main") .. "/NoUpvalueHook.lua"))()

local function TrueString(String)
if type(String) ~= "string" then
Expand Down
36 changes: 22 additions & 14 deletions FormatTable.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Report any bugs, issues and detections to me if you don't mind (NoTwistedHere#6703)
]]

local Threading = loadstring(game:HttpGet("https://raw.githubusercontent.com/NoTwistedHere/Roblox/main/Threading.lua"))()
local Threading = loadstring(game:HttpGet("https://raw.githubusercontent.com/NoTwistedHere/Roblox/" .. (Branch or "main") .. "/Threading.lua"))()
local HttpService = game:GetService("HttpService")
local ObjectTypes = {
["nil"] = 1;
Expand Down Expand Up @@ -286,7 +286,7 @@ local function IncrementalRepeat(ToRepeat, Repeat, Increment)
end

local function YieldableFunc(OriginalFunction) --// Used to work, don't know if it still does
if syn.oth then
if syn and syn.oth then
return OriginalFunction
end

Expand Down Expand Up @@ -317,19 +317,20 @@ local _FormatTable; _FormatTable = YieldableFunc(function(Table, Options, Indent
if typeof(Table) ~= "table" and typeof(Table) ~= "userdata" then
return;
end

Root = typeof(Root) == "string" and Root or "Table"
Checked = type(Checked) == "table" and Checked or {}
Indents = Options.NoIndentation and 1 or Indents or 1
Checked[Table] = TableCount

if Checked and Checked[Table] then
return ParseObject(Table, false, false, Checked, Root or "Table", Options, Indents)
end

Root = typeof(Root) == "string" and Root or "Table"
Checked = type(Checked) == "table" and Checked or {}
Indents = Options.NoIndentation and 1 or Indents or 1

local Metatable, IsProxy = getrawmetatable(Table), typeof(Table) == "userdata"
local TableCount, TabWidth, Count = IsProxy and 0 or CountTable(Table), Options.NoIndentation and " " or " ", 1

Checked[Table] = TableCount

if TableCount >= 3e3 and not Options.LargeTables then
return ("{ \"Table is too large\" }; --// Max: 5e3, Got: %d"):format(TableCount)
elseif IsProxy then
Expand All @@ -347,14 +348,16 @@ local _FormatTable; _FormatTable = YieldableFunc(function(Table, Options, Indent
local NewTable, Results, Thread = {}, {}, Threading.new()

for i, v in next, Table do
if Options.NumLength and i == "#" then
continue;
end

table.insert(NewTable, {i, v})
end

if Options.NumLength then
if #Table ~= Table["#"] then
for i = #Table + 1, Table["#"] do
table.insert(NewTable, {i, nil})
end
if Options.NumLength and type(rawget(Table, "#")) == "number" and #Table ~= rawget(Table, "#") then
for i = #Table + 1, rawget(Table, "#") do
table.insert(NewTable, {i, nil})
end
end

Expand All @@ -370,6 +373,10 @@ local _FormatTable; _FormatTable = YieldableFunc(function(Table, Options, Indent

local Index, Value = Data[1], Data[2]

if Options.NumLength and Index == "#" then
return;
end

local NewRoot = Root..("[%s]"):format(Stringify(Index, Options))
local AlreadyLogged = type(Value) == "table" and (Checked[Value] or CheckForClone(Checked, Value))

Expand All @@ -386,12 +393,13 @@ local _FormatTable; _FormatTable = YieldableFunc(function(Table, Options, Indent
end

if AlreadyLogged then
Results[TIndex] = Format(string.rep(TabWidth, Indents), ParseObject(Index, false, false, Checked, NewRoot, Options, Indents), Tostring(Value), Count < TableCount and "," or "", Checked[Value] and "" or CreateComment("Duplicate of "..Tostring(AlreadyLogged), Options))
Results[TIndex] = Format(string.rep(TabWidth, Indents), ParseObject(Index, false, false, Checked, NewRoot, Options, Indents), Tostring(Value), Count < TableCount and "," or "", CreateComment("[[ DUPLICATE ]]", Options))
Count += 1
return;
end

local IsValid = (type(Value) == "table" or typeof(Value) == "userdata") and not Checked[Value]

local ParsedValue, IsComment, ReParse = IsValid and _FormatTable(Value, Options, Indents + 1, Checked, NewRoot);
local Parsed = {ParseObject((IsComment == "DBC" or not ReParse) and Value or ReParse, true, true, Checked, NewRoot, Options, Indents)}
local Comment = ((IsComment == "DBC" or IsValid) and Parsed[1]..(Parsed[2] and " " or "") or "") .. (Parsed[2] and Parsed[2] or "")
Expand Down Expand Up @@ -425,7 +433,7 @@ local _FormatTable; _FormatTable = YieldableFunc(function(Table, Options, Indent
end
end

return (Metatable and "setmetatable(%s, %s)" or "%s"):format(TableCount == 0 and "{}" or ("{%s%s%s%s}"):format(Options.OneLine and "" or "\n", table.concat(Results, Options.OneLine and "" or "\n"), Options.OneLine and " " or "\n", string.rep(TabWidth, Indents - 1)), Metatable and _FormatTable(Metatable, Options, Indents, Checked, Root))
return (Metatable and "setmetatable(%s, %s) --// %s" or "%s"):format(TableCount == 0 and "{}" or ("{%s%s%s%s}"):format(Options.OneLine and "" or "\n", table.concat(Results, Options.OneLine and "" or "\n"), Options.OneLine and " " or "\n", string.rep(TabWidth, Indents - 1)), Metatable and _FormatTable(Metatable, Options, Indents, Checked, Root), Tostring(Table) .. " // " .. Tostring(Metatable))
end, function(e)
return ("FormatTable Error: [[\n%s\n%s]]"):format(e, debug.traceback())
end)
Expand Down
4 changes: 2 additions & 2 deletions FunctionDump.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
]]

if not FormatTable then
loadstring(game:HttpGet("https://raw.githubusercontent.com/NoTwistedHere/Roblox/main/FormatTable.lua"))()
loadstring(game:HttpGet("https://raw.githubusercontent.com/NoTwistedHere/Roblox/" .. (Branch or "main") .. "/FormatTable.lua"))()
end

local Threading = loadstring(game:HttpGet("https://raw.githubusercontent.com/NoTwistedHere/Roblox/main/Threading.lua"))()
local Threading = loadstring(game:HttpGet("https://raw.githubusercontent.com/NoTwistedHere/Roblox/" .. (Branch or "main") .. "/Threading.lua"))()
local Place = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId)
local Global, Local = "Function Dumps/", ("%s [%d]/"):format(tostring(Place and Place.Name or "Unknown Game"):gsub("[^%w%s]", ""), game.PlaceId)
local Key = game:GetService("HttpService"):GenerateGUID(false)
Expand Down
2 changes: 1 addition & 1 deletion HttpSpy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ local OldRequest; OldRequest = hookfunction(GEnv.syn.request, function(...)
return OldRequest(...)
end

return Log(OldRequest, Request)
return Log(OldRequest, "request", Request)
end)

local OldGet;
Expand Down
25 changes: 0 additions & 25 deletions PrintTable.lua

This file was deleted.

25 changes: 0 additions & 25 deletions PrintTable.luau

This file was deleted.

11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# Roblox Utils
Enjoy the pain I go through so you don't have to worry about being caught cheating (hopefully)
Report any bugs, issues, detections or ideas to me on Discord (NoTwistedHere#6703) or GitHub

# Notice
Recently I've stopped keeping these utils maintained as I'm lacking in motivation to do anything
Report any bugs, issues, detections or ideas to me on Discord (NoTwistedHere#6703) or [GitHub](https://github.com/NoTwistedHere/Roblox/issues)

# Credits
Thanks to these amazing people for helping with detections
Thanks to these amazing people for helping with detections:

```
Acedia#1337
Iris#0410
Waiyu#5437
ZWRh3#1279
乂几乂#1795
Gegecito (https://github.com/Gegecito)
```
slixx#9801
```
Loading