Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local copy = "-- \n"
- function check(x, d)
- if typeof(d) == "boolean" or typeof(d) == "number" then
- copy = copy.." -"..tostring(x).." "..tostring(d).." "..tostring(typeof(d)).." \n"
- elseif typeof(d) == "function" then
- copy = copy.."\n"
- copy = copy.." -"..tostring(x).." "..tostring(d).." "..tostring(typeof(d)).." \n"
- for q, e in next, debug.getupvalues(d) do
- copy = copy.." "..tostring(q).." "..tostring(e).." "..tostring(typeof(e)).." \n"
- check2(q, e)
- end
- elseif typeof(d) == "table" then
- copy = copy.."\n"
- copy = copy.." -"..tostring(x).." "..tostring(d).." "..tostring(typeof(d)).." \n"
- for q, e in pairs(d) do
- if typeof(e) ~= "Instance" then
- copy = copy.." "..tostring(q).." "..tostring(e).." "..tostring(typeof(e)).." \n"
- check2(q, e)
- end
- end
- end
- end
- function check2(x, d)
- if typeof(d) == "boolean" or typeof(d) == "number" then
- copy = copy.." "..tostring(x).." "..tostring(d).." "..tostring(typeof(d)).." \n"
- elseif typeof(d) == "function" then
- for q, e in next, debug.getupvalues(d) do
- copy = copy.." "..tostring(q).." "..tostring(e).." "..tostring(typeof(e)).." \n"
- end
- elseif typeof(d) == "table" then
- copy = copy.."\n"
- copy = copy.." -"..x.." "..tostring(d).." "..tostring(typeof(d)).." \n"
- for q, e in pairs(d) do
- if typeof(e) ~= "Instance" then
- copy = copy.." "..tostring(q).." "..tostring(e).." "..tostring(typeof(e)).." \n"
- check2(q, e)
- end
- end
- end
- end
- local name
- local reg = getreg()
- for i, v in next, reg do
- if type(v) == 'function' then
- if getfenv(v).script then
- name = getfenv(v).script:GetFullName()
- if string.find(copy, name) == nil then
- copy = copy.."\n"
- copy = copy..name.."\n"
- for x, d in next, debug.getupvalues(v) do
- if string.find(name, "PlayerScripts.PlayerModule") == nil and string.find(name, "PlayerScripts.ControlScript") == nil and string.find(name, "ChatScript") == nil and string.find(name, "PlayerScripts.BubbleChat") == nil and string.find(name, "Chat.ClientChatModules") == nil and string.find(name, "Workspace."..game.Players.LocalPlayer.Name..".Animate") == nil and string.find(name, ".") ~= nil then
- if is_synapse_function(v) == false then
- check(x, d)
- end
- end
- end
- elseif string.find(copy, name) then
- for x, d in next, debug.getupvalues(v) do
- if string.find(name, "PlayerScripts.PlayerModule") == nil and string.find(name, "PlayerScripts.ControlScript") == nil and string.find(name, "ChatScript") == nil and string.find(name, "PlayerScripts.BubbleChat") == nil and string.find(name, "Chat.ClientChatModules") == nil and string.find(name, "Workspace."..game.Players.LocalPlayer.Name..".Animate") == nil and string.find(name, ".") ~= nil then
- if is_synapse_function(v) == false then
- check(x, d)
- end
- end
- end
- end
- end
- end
- end
- syn.write_clipboard(copy)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement