Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Script
```lua
local owner = "Upbolt"
local owner = "rodrigo-artificial"
local branch = "revision"

local function webImport(file)
Expand Down
8 changes: 6 additions & 2 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if oh then
end

local web = true
local user = "Upbolt" -- change if you're using a fork
local user = "rodrigo-artificial" -- change if you're using a fork
local branch = "revision"
local importCache = {}

Expand Down Expand Up @@ -286,8 +286,12 @@ if readFile and writeFile then
end

useMethods(import("methods/string"))
print'methods/string imported'
useMethods(import("methods/table"))
print'methods/table imported'
useMethods(import("methods/userdata"))
print'methods/userdata imported'
useMethods(import("methods/environment"))
print'methods/environment imported'

--import("ui/main")
import("ui/main")
13 changes: 10 additions & 3 deletions objects/ModuleScript.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,17 @@ function ModuleScript.new(instance)
local moduleScript = {}
local closure = getScriptClosure(instance)

if closure then
print(`Closure from: {instance:GetFullName()} detected.`)
moduleScript.Constants = getConstants(closure)
moduleScript.Protos = getProtos(closure)
else
moduleScript.Constants = {}
moduleScript.Protos = {}
end

moduleScript.Instance = instance
moduleScript.Constants = getConstants(closure)
moduleScript.Protos = getProtos(closure)
--moduleScript.ReturnValue = require(instance) // causes detection
moduleScript.ReturnValue = require(instance) --// causes detection

return moduleScript
end
Expand Down
5 changes: 5 additions & 0 deletions ui/modules/ClosureSpy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,14 @@ function Log.new(hook)
local blockAnimation = TweenService:Create(buttonName, constants.fadeLength, { TextColor3 = constants.blockedColor })
local ignoreAnimation = TweenService:Create(buttonName, constants.fadeLength, { TextColor3 = constants.ignoredColor })

--[[
buttonInfo.Protos.Text = #getProtos(original)
buttonInfo.Upvalues.Text = #getUpvalues(original)
buttonInfo.Constants.Text = #getConstants(original)
]]
buttonInfo.Protos.Text = 'ERROR'
buttonInfo.Upvalues.Text = 'ERROR'
buttonInfo.Constants.Text = 'ERROR'

button.Name = closure.Name
buttonName.Text = closure.Name
Expand Down